mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-29 00:23:23 -05:00
62 lines
825 KiB
JavaScript
62 lines
825 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 Rl(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 Zb="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",Yb=Rl(Zb),Jb="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Xb=Rl(Jb);function z_(e){return!!e||e===""}function ss(e){if(Ue(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ot(r)?t0(r):ss(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(Ot(e))return e;if(Rt(e))return e}}const Qb=/;(?![^(]*\))/g,e0=/:(.+)/;function t0(e){const t={};return e.split(Qb).forEach(n=>{if(n){const r=n.split(e0);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ze(e){let t="";if(Ot(e))t=e;else if(Ue(e))for(let n=0;n<e.length;n++){const r=Ze(e[n]);r&&(t+=r+" ")}else if(Rt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function n0(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ot(t)&&(e.class=Ze(t)),n&&(e.style=ss(n)),e}function r0(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=$f(e),r=$f(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=zi(e),r=zi(t),n||r)return e===t;if(n=Ue(e),r=Ue(t),n||r)return n&&r?r0(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 Nl(e,t){return e.findIndex(n=>Jr(n,t))}const v=e=>Ot(e)?e:e==null?"":Ue(e)||Rt(e)&&(e.toString===k_||!Qe(e.toString))?JSON.stringify(e,x_,2):String(e),x_=(e,t)=>t&&t.__v_isRef?x_(e,t.value):so(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:Es(t)?{[`Set(${t.size})`]:[...t.values()]}:Rt(t)&&!Ue(t)&&!S_(t)?String(t):t,gt={},ro=[],nr=()=>{},s0=()=>!1,o0=/^on[^a-z]/,Di=e=>o0.test(e),jd=e=>e.startsWith("onUpdate:"),Mt=Object.assign,Vd=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},i0=Object.prototype.hasOwnProperty,dt=(e,t)=>i0.call(e,t),Ue=Array.isArray,so=e=>Fi(e)==="[object Map]",Es=e=>Fi(e)==="[object Set]",$f=e=>Fi(e)==="[object Date]",Qe=e=>typeof e=="function",Ot=e=>typeof e=="string",zi=e=>typeof e=="symbol",Rt=e=>e!==null&&typeof e=="object",Bd=e=>Rt(e)&&Qe(e.then)&&Qe(e.catch),k_=Object.prototype.toString,Fi=e=>k_.call(e),a0=e=>Fi(e).slice(8,-1),S_=e=>Fi(e)==="[object Object]",Hd=e=>Ot(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ni=Rl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),jl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},l0=/-(\w)/g,Ln=jl(e=>e.replace(l0,(t,n)=>n?n.toUpperCase():"")),u0=/\B([A-Z])/g,mr=jl(e=>e.replace(u0,"-$1").toLowerCase()),Ii=jl(e=>e.charAt(0).toUpperCase()+e.slice(1)),ri=jl(e=>e?`on${Ii(e)}`:""),uo=(e,t)=>!Object.is(e,t),oo=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},ml=(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 Af;const c0=()=>Af||(Af=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let On;class Ud{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&On&&(this.parent=On,this.index=(On.scopes||(On.scopes=[])).push(this)-1)}run(t){if(this.active){const n=On;try{return On=this,t()}finally{On=n}}}on(){On=this}off(){On=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 d0(e){return new Ud(e)}function E_(e,t=On){t&&t.active&&t.effects.push(e)}function m0(){return On}function f0(e){On&&On.cleanups.push(e)}const qd=e=>{const t=new Set(e);return t.w=0,t.n=0,t},$_=e=>(e.w&Qr)>0,A_=e=>(e.n&Qr)>0,p0=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Qr},h0=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];$_(s)&&!A_(s)?s.delete(e):t[n++]=s,s.w&=~Qr,s.n&=~Qr}t.length=n}},Pc=new WeakMap;let Go=0,Qr=1;const Dc=30;let er;const vs=Symbol(""),Fc=Symbol("");class Li{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,E_(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<<++Go,Go<=Dc?p0(this):Of(this),this.fn()}finally{Go<=Dc&&h0(this),Qr=1<<--Go,er=this.parent,Zr=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){er===this?this.deferStop=!0:this.active&&(Of(this),this.onStop&&this.onStop(),this.active=!1)}}function Of(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function _0(e,t){e.effect&&(e=e.effect.fn);const n=new Li(e);t&&(Mt(n,t),t.scope&&E_(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function g0(e){e.effect.stop()}let Zr=!0;const O_=[];function $s(){O_.push(Zr),Zr=!1}function As(){const e=O_.pop();Zr=e===void 0?!0:e}function Mn(e,t,n){if(Zr&&er){let r=Pc.get(e);r||Pc.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=qd()),T_(s)}}function T_(e,t){let n=!1;Go<=Dc?A_(e)||(e.n|=Qr,n=!$_(e)):n=!e.has(er),n&&(e.add(er),er.deps.push(e))}function kr(e,t,n,r,s,o){const i=Pc.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&Ue(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":Ue(e)?Hd(n)&&a.push(i.get("length")):(a.push(i.get(vs)),so(e)&&a.push(i.get(Fc)));break;case"delete":Ue(e)||(a.push(i.get(vs)),so(e)&&a.push(i.get(Fc)));break;case"set":so(e)&&a.push(i.get(vs));break}if(a.length===1)a[0]&&Ic(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Ic(qd(l))}}function Ic(e,t){const n=Ue(e)?e:[...e];for(const r of n)r.computed&&Tf(r);for(const r of n)r.computed||Tf(r)}function Tf(e,t){(e!==er||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const y0=Rl("__proto__,__v_isRef,__isVue"),P_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(zi)),v0=Vl(),b0=Vl(!1,!0),w0=Vl(!0),C0=Vl(!0,!0),Pf=z0();function z0(){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 Vl(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?N_:R_:t?M_:L_).get(r))return r;const i=Ue(r);if(!e&&i&&dt(Pf,s))return Reflect.get(Pf,s,o);const a=Reflect.get(r,s,o);return(zi(s)?P_.has(s):y0(s))||(e||Mn(r,"get",s),t)?a:Ut(a)?i&&Hd(s)?a:a.value:Rt(a)?e?Gd(a):Os(a):a}}const x0=D_(),k0=D_(!0);function D_(e=!1){return function(n,r,s,o){let i=n[r];if(co(i)&&Ut(i)&&!Ut(s))return!1;if(!e&&!co(s)&&(fl(s)||(s=lt(s),i=lt(i)),!Ue(n)&&Ut(i)&&!Ut(s)))return i.value=s,!0;const a=Ue(n)&&Hd(r)?Number(r)<n.length:dt(n,r),l=Reflect.set(n,r,s,o);return n===lt(o)&&(a?uo(s,i)&&kr(n,"set",r,s):kr(n,"add",r,s)),l}}function S0(e,t){const n=dt(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&kr(e,"delete",t,void 0),r}function E0(e,t){const n=Reflect.has(e,t);return(!zi(t)||!P_.has(t))&&Mn(e,"has",t),n}function $0(e){return Mn(e,"iterate",Ue(e)?"length":vs),Reflect.ownKeys(e)}const F_={get:v0,set:x0,deleteProperty:S0,has:E0,ownKeys:$0},I_={get:w0,set(e,t){return!0},deleteProperty(e,t){return!0}},A0=Mt({},F_,{get:b0,set:k0}),O0=Mt({},I_,{get:C0}),Wd=e=>e,Bl=e=>Reflect.getPrototypeOf(e);function na(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}=Bl(s),a=r?Wd:n?Yd:xi;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 ra(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 sa(e,t=!1){return e=e.__v_raw,!t&&Mn(lt(e),"iterate",vs),Reflect.get(e,"size",e)}function Df(e){e=lt(e);const t=lt(this);return Bl(t).has.call(t,e)||(t.add(e),kr(t,"add",e,e)),this}function Ff(e,t){t=lt(t);const n=lt(this),{has:r,get:s}=Bl(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?uo(t,i)&&kr(n,"set",e,t):kr(n,"add",e,t),this}function If(e){const t=lt(this),{has:n,get:r}=Bl(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&&kr(t,"delete",e,void 0),o}function Lf(){const e=lt(this),t=e.size!==0,n=e.clear();return t&&kr(e,"clear",void 0,void 0),n}function oa(e,t){return function(r,s){const o=this,i=o.__v_raw,a=lt(i),l=t?Wd:e?Yd:xi;return!e&&Mn(a,"iterate",vs),i.forEach((c,m)=>r.call(s,l(c),l(m),o))}}function ia(e,t,n){return function(...r){const s=this.__v_raw,o=lt(s),i=so(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=s[e](...r),m=n?Wd:t?Yd:xi;return!t&&Mn(o,"iterate",l?Fc: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 T0(){const e={get(o){return na(this,o)},get size(){return sa(this)},has:ra,add:Df,set:Ff,delete:If,clear:Lf,forEach:oa(!1,!1)},t={get(o){return na(this,o,!1,!0)},get size(){return sa(this)},has:ra,add:Df,set:Ff,delete:If,clear:Lf,forEach:oa(!1,!0)},n={get(o){return na(this,o,!0)},get size(){return sa(this,!0)},has(o){return ra.call(this,o,!0)},add:Dr("add"),set:Dr("set"),delete:Dr("delete"),clear:Dr("clear"),forEach:oa(!0,!1)},r={get(o){return na(this,o,!0,!0)},get size(){return sa(this,!0)},has(o){return ra.call(this,o,!0)},add:Dr("add"),set:Dr("set"),delete:Dr("delete"),clear:Dr("clear"),forEach:oa(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=ia(o,!1,!1),n[o]=ia(o,!0,!1),t[o]=ia(o,!1,!0),r[o]=ia(o,!0,!0)}),[e,n,t,r]}const[P0,D0,F0,I0]=T0();function Hl(e,t){const n=t?e?I0:F0:e?D0:P0;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 L0={get:Hl(!1,!1)},M0={get:Hl(!1,!0)},R0={get:Hl(!0,!1)},N0={get:Hl(!0,!0)},L_=new WeakMap,M_=new WeakMap,R_=new WeakMap,N_=new WeakMap;function j0(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function V0(e){return e.__v_skip||!Object.isExtensible(e)?0:j0(a0(e))}function Os(e){return co(e)?e:Ul(e,!1,F_,L0,L_)}function j_(e){return Ul(e,!1,A0,M0,M_)}function Gd(e){return Ul(e,!0,I_,R0,R_)}function B0(e){return Ul(e,!0,O0,N0,N_)}function Ul(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=V0(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 co(e)?bs(e.__v_raw):!!(e&&e.__v_isReactive)}function co(e){return!!(e&&e.__v_isReadonly)}function fl(e){return!!(e&&e.__v_isShallow)}function Kd(e){return bs(e)||co(e)}function lt(e){const t=e&&e.__v_raw;return t?lt(t):e}function Zd(e){return ml(e,"__v_skip",!0),e}const xi=e=>Rt(e)?Os(e):e,Yd=e=>Rt(e)?Gd(e):e;function Jd(e){Zr&&er&&(e=lt(e),T_(e.dep||(e.dep=qd())))}function ql(e,t){e=lt(e),e.dep&&Ic(e.dep)}function Ut(e){return!!(e&&e.__v_isRef===!0)}function bn(e){return B_(e,!1)}function V_(e){return B_(e,!0)}function B_(e,t){return Ut(e)?e:new H0(e,t)}class H0{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:xi(t)}get value(){return Jd(this),this._value}set value(t){t=this.__v_isShallow?t:lt(t),uo(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:xi(t),ql(this))}}function U0(e){ql(e)}function io(e){return Ut(e)?e.value:e}const q0={get:(e,t,n)=>io(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 Xd(e){return bs(e)?e:new Proxy(e,q0)}class W0{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Jd(this),()=>ql(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function G0(e){return new W0(e)}function si(e){const t=Ue(e)?new Array(e.length):{};for(const n in e)t[n]=H_(e,n);return t}class K0{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 H_(e,t,n){const r=e[t];return Ut(r)?r:new K0(e,t,n)}class Z0{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Li(t,()=>{this._dirty||(this._dirty=!0,ql(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=lt(this);return Jd(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Y0(e,t,n=!1){let r,s;const o=Qe(e);return o?(r=e,s=nr):(r=e.get,s=e.set),new Z0(r,s,o||!s,n)}const oi=[];function U_(e,...t){$s();const n=oi.length?oi[oi.length-1].component:null,r=n&&n.appContext.config.warnHandler,s=J0();if(r)fr(r,n,11,[e+t.join(""),n&&n.proxy,s.map(({vnode:o})=>`at <${Ig(n,o.type)}>`).join(`
|
||
`),s]);else{const o=[`[Vue warn]: ${e}`,...t];s.length&&o.push(`
|
||
`,...X0(s)),console.warn(...o)}As()}function J0(){let e=oi[oi.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 X0(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
|
||
`],...Q0(n))}),t}function Q0({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,s=` at <${Ig(e.component,e.type,r)}`,o=">"+n;return e.props?[s,...ew(e.props),o]:[s+o]}function ew(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...q_(r,e[r]))}),n.length>3&&t.push(" ..."),t}function q_(e,t,n){return Ot(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Ut(t)?(t=q_(e,lt(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Qe(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){Ts(o,t,n)}return s}function Fn(e,t,n,r){if(Qe(e)){const o=fr(e,t,n,r);return o&&Bd(o)&&o.catch(i=>{Ts(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 Ts(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}}tw(e,n,s,r)}function tw(e,t,n,r=!0){console.error(e)}let pl=!1,Lc=!1;const Dn=[];let wr=0;const ii=[];let Ko=null,Ks=0;const ai=[];let Nr=null,Zs=0;const W_=Promise.resolve();let Qd=null,Mc=null;function Wl(e){const t=Qd||W_;return e?t.then(this?e.bind(this):e):t}function nw(e){let t=wr+1,n=Dn.length;for(;t<n;){const r=t+n>>>1;ki(Dn[r])<e?t=r+1:n=r}return t}function em(e){(!Dn.length||!Dn.includes(e,pl&&e.allowRecurse?wr+1:wr))&&e!==Mc&&(e.id==null?Dn.push(e):Dn.splice(nw(e.id),0,e),G_())}function G_(){!pl&&!Lc&&(Lc=!0,Qd=W_.then(Z_))}function rw(e){const t=Dn.indexOf(e);t>wr&&Dn.splice(t,1)}function K_(e,t,n,r){Ue(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&n.push(e),G_()}function sw(e){K_(e,Ko,ii,Ks)}function tm(e){K_(e,Nr,ai,Zs)}function Gl(e,t=null){if(ii.length){for(Mc=t,Ko=[...new Set(ii)],ii.length=0,Ks=0;Ks<Ko.length;Ks++)Ko[Ks]();Ko=null,Ks=0,Mc=null,Gl(e,t)}}function hl(e){if(Gl(),ai.length){const t=[...new Set(ai)];if(ai.length=0,Nr){Nr.push(...t);return}for(Nr=t,Nr.sort((n,r)=>ki(n)-ki(r)),Zs=0;Zs<Nr.length;Zs++)Nr[Zs]();Nr=null,Zs=0}}const ki=e=>e.id==null?1/0:e.id;function Z_(e){Lc=!1,pl=!0,Gl(e),Dn.sort((n,r)=>ki(n)-ki(r));const t=nr;try{for(wr=0;wr<Dn.length;wr++){const n=Dn[wr];n&&n.active!==!1&&fr(n,null,14)}}finally{wr=0,Dn.length=0,hl(),pl=!1,Qd=null,(Dn.length||ii.length||ai.length)&&Z_(e)}}let Ys,aa=[];function Y_(e,t){var n,r;Ys=e,Ys?(Ys.enabled=!0,aa.forEach(({event:s,args:o})=>Ys.emit(s,...o)),aa=[]):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=>{Y_(o,t)}),setTimeout(()=>{Ys||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,aa=[])},3e3)):aa=[]}function ow(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=ri(t)]||r[a=ri(Ln(t))];!l&&o&&(l=r[a=ri(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 J_(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(!Qe(e)){const l=c=>{const m=J_(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):(Ue(o)?o.forEach(l=>i[l]=null):Mt(i,o),r.set(e,i),i)}function Kl(e,t){return!e||!Di(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,Zl=null;function Si(e){const t=rn;return rn=e,Zl=e&&e.type.__scopeId||null,t}function iw(e){Zl=e}function aw(){Zl=null}const lw=e=>T;function T(e,t=rn,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Uc(-1);const o=Si(t),i=e(...s);return Si(o),r._d&&Uc(1),i};return r._n=!0,r._c=!0,r._d=!0,r}function el(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=Si(e);try{if(n.shapeFlag&4){const z=s||r;g=Tn(m.call(z,z,f,o,p,d,h)),b=l}else{const z=t;g=Tn(z.length>1?z(o,{attrs:l,slots:a,emit:c}):z(o,null)),b=t.props?l:cw(l)}}catch(z){ci.length=0,Ts(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(jd)&&(b=dw(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,Si(w),g}function uw(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 cw=e=>{let t;for(const n in e)(n==="class"||n==="style"||Di(n))&&((t||(t={}))[n]=e[n]);return t},dw=(e,t)=>{const n={};for(const r in e)(!jd(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function mw(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?Mf(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]&&!Kl(c,d))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Mf(r,i,c):!0:!!i;return!1}function Mf(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]&&!Kl(n,o))return!0}return!1}function nm({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const X_=e=>e.__isSuspense,fw={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,c){e==null?hw(t,n,r,s,o,i,a,l,c):_w(e,t,n,r,s,i,a,l,c)},hydrate:gw,create:rm,normalize:yw},pw=fw;function Ei(e,t){const n=e.props&&e.props[t];Qe(n)&&n()}function hw(e,t,n,r,s,o,i,a,l){const{p:c,o:{createElement:m}}=l,f=m("div"),d=e.suspense=rm(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?(Ei(e,"onPending"),Ei(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,i),ao(d,e.ssFallback)):d.resolve()}function _w(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),ao(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),ao(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),ao(f,d);else if(Ei(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 rm(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:O,pendingId:j,effects:F,parentComponent:A,container:M}=w;if(w.isHydrating)w.isHydrating=!1;else if(!x){const H=S&&O.transition&&O.transition.mode==="out-in";H&&(S.transition.afterLeave=()=>{j===w.pendingId&&d(O,M,B,0)});let{anchor:B}=w;S&&(B=h(S),p(S,A,w,!0)),H||d(O,M,B,0)}ao(w,O),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||tm(F),w.effects=[],Ei(z,"onResolve")},fallback(x){if(!w.pendingBranch)return;const{vnode:z,activeBranch:S,parentComponent:O,container:j,isSVG:F}=w;Ei(z,"onFallback");const A=h(S),M=()=>{w.isInFallback&&(f(null,x,j,A,O,null,F,a,l),ao(w,x))},W=x.transition&&x.transition.mode==="out-in";W&&(S.transition.afterLeave=M),w.isInFallback=!0,p(S,O,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 O=x.vnode.el;x.asyncDep.catch(j=>{Ts(j,x,0)}).then(j=>{if(x.isUnmounted||w.isUnmounted||w.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:F}=x;qc(x,j,!1),O&&(F.el=O);const A=!O&&x.subTree.el;z(x,F,_(O||x.subTree.el),O?null:h(x.subTree),w,i,l),A&&g(A),nm(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 gw(e,t,n,r,s,o,i,a,l){const c=t.suspense=rm(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 yw(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Rf(r?n.default:n),e.ssFallback=r?Rf(n.fallback):C(an)}function Rf(e){let t;if(Qe(e)){const n=Ss&&e._c;n&&(e._d=!1,E()),e=e(),n&&(e._d=!0,t=wn,Sg())}return Ue(e)&&(e=uw(e)),e=Tn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Q_(e,t){t&&t.pendingBranch?Ue(e)?t.effects.push(...e):t.effects.push(e):tm(e)}function ao(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,nm(r,s))}function li(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&&Qe(t)?t.call(r.proxy):t}}function vw(e,t){return Mi(e,null,t)}function eg(e,t){return Mi(e,null,{flush:"post"})}function bw(e,t){return Mi(e,null,{flush:"sync"})}const Nf={};function It(e,t,n){return Mi(e,t,n)}function Mi(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=fl(e)):bs(e)?(l=()=>e,r=!0):Ue(e)?(m=!0,c=e.some(b=>bs(b)||fl(b)),l=()=>e.map(b=>{if(Ut(b))return b.value;if(bs(b))return ys(b);if(Qe(b))return fr(b,a,2)})):Qe(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(fo)return d=nr,t?n&&Fn(t,a,3,[l(),m?[]:void 0,d]):l(),nr;let p=m?[]:Nf;const h=()=>{if(g.active)if(t){const b=g.run();(r||c||(m?b.some((w,x)=>uo(w,p[x])):uo(b,p)))&&(f&&f(),Fn(t,a,3,[b,p===Nf?void 0:p,d]),p=b)}else g.run()};h.allowRecurse=!!t;let _;s==="sync"?_=h:s==="post"?_=()=>Xt(h,a&&a.suspense):_=()=>sw(h);const g=new Li(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&&Vd(a.scope.effects,g)}}function ww(e,t,n){const r=this.proxy,s=Ot(e)?e.includes(".")?tg(r,e):()=>r[e]:e.bind(r,r);let o;Qe(t)?o=t:(o=t.handler,n=t);const i=Kt;ns(this);const a=Mi(s,o.bind(r),n);return i?ns(i):Yr(),a}function tg(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(Ue(e))for(let n=0;n<e.length;n++)ys(e[n],t);else if(Es(e)||so(e))e.forEach(n=>{ys(n,t)});else if(S_(e))for(const n in e)ys(e[n],t);return e}function sm(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ps(()=>{e.isMounted=!0}),Ql(()=>{e.isUnmounting=!0}),e}const Nn=[Function,Array],Cw={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=sm();let s;return()=>{const o=t.default&&Yl(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 Iu(i);const c=jf(i);if(!c)return Iu(i);const m=mo(c,a,r,n);ks(c,m);const f=n.subTree,d=f&&jf(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 _=mo(d,a,r,n);if(ks(d,_),l==="out-in")return r.isLeaving=!0,_.afterLeave=()=>{r.isLeaving=!1,n.update()},Iu(i);l==="in-out"&&c.type!==an&&(_.delayLeave=(g,b,w)=>{const x=ng(r,d);x[String(d.key)]=d,g._leaveCb=()=>{b(),g._leaveCb=void 0,delete m.delayedLeave},m.delayedLeave=w})}return i}}},om=Cw;function ng(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 mo(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=ng(n,e),S=(F,A)=>{F&&Fn(F,r,9,A)},O=(F,A)=>{const M=A[1];S(F,A),Ue(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?O(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?O(d,[F,I]):I()},clone(F){return mo(F,t,n,r)}};return j}function Iu(e){if(Ni(e))return e=hr(e),e.children=null,e}function jf(e){return Ni(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 Yl(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===We?(i.patchFlag&128&&s++,r=r.concat(Yl(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 Ri(e){return Qe(e)?{setup:e,name:e.name}:e}const ws=e=>!!e.type.__asyncLoader;function zw(e){Qe(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 Ri({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const p=Kt;if(c)return()=>Lu(c,p);const h=w=>{l=null,Ts(w,p,13,!r)};if(i&&p.suspense||fo)return d().then(w=>()=>Lu(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&&Ni(p.parent.vnode)&&em(p.parent.update)}).catch(w=>{h(w),g.value=w}),()=>{if(_.value&&c)return Lu(c,p);if(g.value&&r)return C(r,{error:g.value});if(n&&!b.value)return C(n)}}})}function Lu(e,{vnode:{ref:t,props:n,children:r,shapeFlag:s},parent:o}){const i=C(e,n,r);return i.ref=t,i}const Ni=e=>e.type.__isKeepAlive,xw={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,O)=>{const j=w.component;c(w,x,z,0,a),l(j.vnode,w,x,z,j,a,S,w.slotScopeIds,O),Xt(()=>{j.isDeactivated=!1,j.a&&oo(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&&oo(x.da);const z=w.props&&w.props.onVnodeUnmounted;z&&vn(z,x.parent,w),x.isDeactivated=!0},a)};function p(w){Mu(w),m(w,n,a,!0)}function h(w){s.forEach((x,z)=>{const S=bl(x.type);S&&(!w||!w(S))&&_(z)})}function _(w){const x=s.get(w);!i||x.type!==i.type?p(x):i&&Mu(i),s.delete(w),o.delete(w)}It(()=>[e.include,e.exclude],([w,x])=>{w&&h(z=>Zo(w,z)),x&&h(z=>!Zo(x,z))},{flush:"post",deep:!0});let g=null;const b=()=>{g!=null&&s.set(g,Ru(n.subTree))};return Ps(b),Xl(b),Ql(()=>{s.forEach(w=>{const{subTree:x,suspense:z}=n,S=Ru(x);if(w.type===S.type){Mu(S);const O=S.component.da;O&&Xt(O,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=Ru(x);const S=z.type,O=bl(ws(z)?z.type.__asyncResolved||{}:S),{include:j,exclude:F,max:A}=e;if(j&&(!O||!Zo(j,O))||F&&O&&Zo(F,O))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,X_(x.type)?x:z}}},kw=xw;function Zo(e,t){return Ue(e)?e.some(n=>Zo(n,t)):Ot(e)?e.split(",").includes(t):e.test?e.test(t):!1}function rg(e,t){og(e,"a",t)}function sg(e,t){og(e,"da",t)}function og(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(Jl(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Ni(s.parent.vnode)&&Sw(r,t,n,s),s=s.parent}}function Sw(e,t,n,r){const s=Jl(t,e,r,!0);xo(()=>{Vd(r[t],s)},n)}function Mu(e){let t=e.shapeFlag;t&256&&(t-=256),t&512&&(t-=512),e.shapeFlag=t}function Ru(e){return e.shapeFlag&128?e.ssContent:e}function Jl(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 $r=e=>(t,n=Kt)=>(!fo||e==="sp")&&Jl(e,t,n),ig=$r("bm"),Ps=$r("m"),ag=$r("bu"),Xl=$r("u"),Ql=$r("bum"),xo=$r("um"),lg=$r("sp"),ug=$r("rtg"),cg=$r("rtc");function dg(e,t=Kt){Jl("ec",e,t)}function xt(e,t){const n=rn;if(n===null)return e;const r=nu(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,l,c=gt]=t[o];Qe(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 im="components",Ew="directives";function P(e,t){return am(im,e,!0,t)||e}const mg=Symbol();function fg(e){return Ot(e)?am(im,e,!1)||e:e||mg}function eu(e){return am(Ew,e)}function am(e,t,n=!0,r=!1){const s=rn||Kt;if(s){const o=s.type;if(e===im){const a=bl(o,!1);if(a&&(a===t||a===Ln(t)||a===Ii(Ln(t))))return o}const i=Vf(s[e]||o[e],t)||Vf(s.appContext[e],t);return!i&&r?o:i}}function Vf(e,t){return e&&(e[t]||e[Ln(t)]||e[Ii(Ln(t))])}function wt(e,t,n,r){let s;const o=n&&n[r];if(Ue(e)||Ot(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 ji(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(Ue(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&&pg(o(n)),a=xe(We,{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 pg(e){return e.some(t=>ts(t)?!(t.type===an||t.type===We&&!pg(t.children)):!0)?e:null}function $w(e){const t={};for(const n in e)t[ri(n)]=e[n];return t}const Rc=e=>e?Tg(e)?nu(e)||e.proxy:Rc(e.parent):null,_l=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=>Rc(e.parent),$root:e=>Rc(e.root),$emit:e=>e.emit,$options:e=>_g(e),$forceUpdate:e=>e.f||(e.f=()=>em(e.update)),$nextTick:e=>e.n||(e.n=Wl.bind(e.proxy)),$watch:e=>ww.bind(e)}),Nc={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(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];jc&&(i[t]=0)}}const m=_l[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(_l,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)}},Aw=Mt({},Nc,{get(e,t){if(t!==Symbol.unscopables)return Nc.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Yb(t)}});let jc=!0;function Ow(e){const t=_g(e),n=e.proxy,r=e.ctx;jc=!1,t.beforeCreate&&Bf(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:O,renderTriggered:j,errorCaptured:F,serverPrefetch:A,expose:M,inheritAttrs:W,components:I,directives:H,filters:B}=t;if(c&&Tw(c,r,null,e.appContext.config.unwrapInjectedRef),i)for(const ue in i){const ge=i[ue];Qe(ge)&&(r[ue]=ge.bind(n))}if(s){const ue=s.call(n,n);Rt(ue)&&(e.data=Os(ue))}if(jc=!0,o)for(const ue in o){const ge=o[ue],Me=Qe(ge)?ge.bind(n,n):Qe(ge.get)?ge.get.bind(n,n):nr,Be=!Qe(ge)&&Qe(ge.set)?ge.set.bind(n):nr,he=At({get:Me,set:Be});Object.defineProperty(r,ue,{enumerable:!0,configurable:!0,get:()=>he.value,set:X=>he.value=X})}if(a)for(const ue in a)hg(a[ue],r,n,ue);if(l){const ue=Qe(l)?l.call(n):l;Reflect.ownKeys(ue).forEach(ge=>{li(ge,ue[ge])})}m&&Bf(m,e,"c");function J(ue,ge){Ue(ge)?ge.forEach(Me=>ue(Me.bind(n))):ge&&ue(ge.bind(n))}if(J(ig,f),J(Ps,d),J(ag,p),J(Xl,h),J(rg,_),J(sg,g),J(dg,F),J(cg,O),J(ug,j),J(Ql,w),J(xo,z),J(lg,A),Ue(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 Tw(e,t,n=nr,r=!1){Ue(e)&&(e=Vc(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 Bf(e,t,n){Fn(Ue(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function hg(e,t,n,r){const s=r.includes(".")?tg(n,r):()=>n[r];if(Ot(e)){const o=t[e];Qe(o)&&It(s,o)}else if(Qe(e))It(s,e.bind(n));else if(Rt(e))if(Ue(e))e.forEach(o=>hg(o,t,n,r));else{const o=Qe(e.handler)?e.handler.bind(n):t[e.handler];Qe(o)&&It(s,o,e)}}function _g(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=>gl(l,c,i,!0)),gl(l,t,i)),o.set(t,l),l}function gl(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&gl(e,o,n,!0),s&&s.forEach(i=>gl(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Pw[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Pw={data:Hf,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:Fw,provide:Hf,inject:Dw};function Hf(e,t){return t?e?function(){return Mt(Qe(e)?e.call(this,this):e,Qe(t)?t.call(this,this):t)}:t:e}function Dw(e,t){return ps(Vc(e),Vc(t))}function Vc(e){if(Ue(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 Fw(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 Iw(e,t,n,r=!1){const s={},o={};ml(o,tu,1),e.propsDefaults=Object.create(null),gg(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:j_(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Lw(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(Kl(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]=Bc(l,a,h,p,e,!1)}else p!==o[d]&&(o[d]=p,c=!0)}}}else{gg(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]=Bc(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&&kr(e,"set","$attrs")}function gg(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(ni(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:Kl(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]=Bc(s,l,f,c[f],e,!dt(c,f))}}return i}function Bc(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&&Qe(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 yg(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(!Qe(e)){const m=f=>{l=!0;const[d,p]=yg(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,ro),ro;if(Ue(o))for(let m=0;m<o.length;m++){const f=Ln(o[m]);Uf(f)&&(i[f]=gt)}else if(o)for(const m in o){const f=Ln(m);if(Uf(f)){const d=o[m],p=i[f]=Ue(d)||Qe(d)?{type:d}:d;if(p){const h=Gf(Boolean,p.type),_=Gf(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 Uf(e){return e[0]!=="$"}function qf(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Wf(e,t){return qf(e)===qf(t)}function Gf(e,t){return Ue(t)?t.findIndex(n=>Wf(n,e)):Qe(t)&&Wf(t,e)?0:-1}const vg=e=>e[0]==="_"||e==="$stable",lm=e=>Ue(e)?e.map(Tn):[Tn(e)],Mw=(e,t,n)=>{if(t._n)return t;const r=T((...s)=>lm(t(...s)),n);return r._c=!1,r},bg=(e,t,n)=>{const r=e._ctx;for(const s in e){if(vg(s))continue;const o=e[s];if(Qe(o))t[s]=Mw(s,o,r);else if(o!=null){const i=lm(o);t[s]=()=>i}}},wg=(e,t)=>{const n=lm(t);e.slots.default=()=>n},Rw=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=lt(t),ml(t,"_",n)):bg(t,e.slots={})}else e.slots={},t&&wg(e,t);ml(e.slots,tu,1)},Nw=(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,bg(t,s)),i=t}else t&&(wg(e,t),i={default:1});if(o)for(const a in s)!vg(a)&&!(a in i)&&delete s[a]};function Cg(){return{app:null,config:{isNativeTag:s0,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 jw=0;function Vw(e,t){return function(r,s=null){Qe(r)||(r=Object.assign({},r)),s!=null&&!Rt(s)&&(s=null);const o=Cg(),i=new Set;let a=!1;const l=o.app={_uid:jw++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Ng,get config(){return o.config},set config(c){},use(c,...m){return i.has(c)||(c&&Qe(c.install)?(i.add(c),c.install(l,...m)):Qe(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,nu(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 yl(e,t,n,r,s=!1){if(Ue(e)){e.forEach((d,p)=>yl(d,t&&(Ue(t)?t[p]:t),n,r,s));return}if(ws(r)&&!s)return;const o=r.shapeFlag&4?nu(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&&(Ot(c)?(m[c]=null,dt(f,c)&&(f[c]=null)):Ut(c)&&(c.value=null)),Qe(l))fr(l,a,12,[i,m]);else{const d=Ot(l),p=Ut(l);if(d||p){const h=()=>{if(e.f){const _=d?m[l]:l.value;s?Ue(_)&&Vd(_,o):Ue(_)?_.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 la=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",ua=e=>e.nodeType===8;function Bw(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),hl(),w._vnode=b;return}Fr=!1,f(w.firstChild,b,null,null,null),hl(),w._vnode=b,Fr&&console.error("Hydration completed but contains mismatches.")},f=(b,w,x,z,S,O=!1)=>{const j=ua(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&&(O=!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 We:j?B=h(b,w,x,z,S,O):B=F();break;default:if(W&1)H!==1||w.type.toLowerCase()!==b.tagName.toLowerCase()?B=F():B=d(b,w,x,z,S,O);else if(W&6){w.slotScopeIds=S;const oe=i(b);if(t(w,oe,null,x,z,la(oe),O),B=j?g(b):o(b),B&&ua(B)&&B.data==="teleport end"&&(B=o(B)),ws(w)){let J;j?(J=C(We),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,O,e,p):W&128&&(B=w.type.hydrate(b,w,x,z,la(i(b)),S,O,e,f))}return M!=null&&yl(M,null,z,w),B},d=(b,w,x,z,S,O)=>{O=O||!!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||!O||A&48)for(const B in F)(I&&B.endsWith("value")||Di(B)&&!ni(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)&&Q_(()=>{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,O);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,O,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]=Tn(F[M]);if(b)b=f(b,W,z,S,O,j);else{if(W.type===es&&!W.children)continue;Fr=!0,n(null,W,x,null,z,S,la(x),O)}}return b},h=(b,w,x,z,S,O)=>{const{slotScopeIds:j}=w;j&&(S=S?S.concat(j):j);const F=i(b),A=p(o(b),w,F,x,z,S,O);return A&&ua(A)&&A.data==="]"?o(w.anchor=A):(Fr=!0,l(w.anchor=c("]"),F,A),A)},_=(b,w,x,z,S,O)=>{if(Fr=!0,w.el=null,O){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,la(F),S),j},g=b=>{let w=0;for(;b;)if(b=o(b),b&&ua(b)&&(b.data==="["&&w++,b.data==="]")){if(w===0)return o(b);w--}return b};return[m,f]}const Xt=Q_;function zg(e){return kg(e)}function xg(e){return kg(e,Bw)}function kg(e,t){const n=c0();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 We:H($,R,Y,le,ce,ye,Ce,pe,V);break;default:ze&1?O($,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&&yl($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)},O=($,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:Re,patchFlag:qe,dirs:et}=$;if($.el&&h!==void 0&&qe===-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),et&&ur($,null,le,"created"),ze){for(const y in ze)y!=="value"&&!ni(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)}et&&ur($,null,le,"beforeMount");const k=(!ce||ce&&!ce.pendingBranch)&&Re&&!Re.persisted;k&&Re.beforeEnter(V),r(V,R,Y),((q=ze&&ze.onVnodeMounted)||k||et)&&Xt(()=>{q&&vn(q,le,$),k&&Re.enter(V),et&&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]):Tn($[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 Re;Y&&ls(Y,!1),(Re=De.onVnodeBeforeUpdate)&&vn(Re,Y,R,$),$e&&ur(R,$,Y,"beforeUpdate"),Y&&ls(Y,!0);const qe=ce&&R.type!=="foreignObject";if(q?W($.dynamicChildren,q,pe,Y,le,qe,ye):Ce||Me($,R,pe,null,Y,le,qe,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 et=R.dynamicProps;for(let k=0;k<et.length;k++){const y=et[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);((Re=De.onVnodeUpdated)||$e)&&Xt(()=>{Re&&vn(Re,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===We||!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(ni(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)!ni(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:Re}=R;Re&&(pe=pe?pe.concat(Re):Re),$==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)&&um($,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=Og($,le,ce);if(Ni($)&&(pe.ctx.renderer=Ie),Pg(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(mw($,R,Y))if(le.asyncDep&&!le.asyncResolved){ge(le,R,Y);return}else le.next=R,rw(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:Re,vnode:qe}=$,et=$e,k;ls($,!1),$e?($e.el=qe.el,ge($,$e,Ce)):$e=qe,ze&&oo(ze),(k=$e.props&&$e.props.onVnodeBeforeUpdate)&&vn(k,Re,$e,qe),ls($,!0);const y=el($),L=$.subTree;$.subTree=y,g(L,y,f(L.el),be(L),$,ce,ye),$e.el=y.el,et===null&&nm($,y.el),De&&Xt(De,ce),(k=$e.props&&$e.props.onVnodeUpdated)&&Xt(()=>vn(k,Re,$e,qe),ce)}else{let $e;const{el:ze,props:De}=R,{bm:Re,m:qe,parent:et}=$,k=ws(R);if(ls($,!1),Re&&oo(Re),!k&&($e=De&&De.onVnodeBeforeMount)&&vn($e,et,R),ls($,!0),ze&&Ae){const y=()=>{$.subTree=el($),Ae(ze,$.subTree,$,ce,null)};k?R.type.__asyncLoader().then(()=>!$.isUnmounted&&y()):y()}else{const y=$.subTree=el($);g(null,y,Y,le,$,ce,ye),R.el=y.el}if(qe&&Xt(qe,ce),!k&&($e=De&&De.onVnodeMounted)){const y=R;Xt(()=>vn($e,et,y),ce)}(R.shapeFlag&256||et&&ws(et.vnode)&&et.vnode.shapeFlag&256)&&$.a&&Xt($.a,ce),$.isMounted=!0,R=Y=le=null}},V=$.effect=new Li(pe,()=>em(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,Lw($,R.props,le,Y),Nw($,R.children,Y),$s(),Gl(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:Re}=R;if(De>0){if(De&128){he(q,ze,Y,le,ce,ye,Ce,pe,V);return}else if(De&256){Be(q,ze,Y,le,ce,ye,Ce,pe,V);return}}Re&8?($e&16&&se(q,ce,ye),ze!==q&&m(Y,ze)):$e&16?Re&16?he(q,ze,Y,le,ce,ye,Ce,pe,V):se(q,ce,ye,!0):($e&8&&m(Y,""),Re&16&&A(ze,Y,le,ce,ye,Ce,pe,V))},Be=($,R,Y,le,ce,ye,Ce,pe,V)=>{$=$||ro,R=R||ro;const q=$.length,$e=R.length,ze=Math.min(q,$e);let De;for(De=0;De<ze;De++){const Re=R[De]=V?Vr(R[De]):Tn(R[De]);g($[De],Re,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 Re=$[q],qe=R[q]=V?Vr(R[q]):Tn(R[q]);if(dr(Re,qe))g(Re,qe,Y,null,ce,ye,Ce,pe,V);else break;q++}for(;q<=ze&&q<=De;){const Re=$[ze],qe=R[De]=V?Vr(R[De]):Tn(R[De]);if(dr(Re,qe))g(Re,qe,Y,null,ce,ye,Ce,pe,V);else break;ze--,De--}if(q>ze){if(q<=De){const Re=De+1,qe=Re<$e?R[Re].el:le;for(;q<=De;)g(null,R[q]=V?Vr(R[q]):Tn(R[q]),Y,qe,ce,ye,Ce,pe,V),q++}}else if(q>De)for(;q<=ze;)me($[q],ce,ye,!0),q++;else{const Re=q,qe=q,et=new Map;for(q=qe;q<=De;q++){const Le=R[q]=V?Vr(R[q]):Tn(R[q]);Le.key!=null&&et.set(Le.key,q)}let k,y=0;const L=De-qe+1;let K=!1,ee=0;const fe=new Array(L);for(q=0;q<L;q++)fe[q]=0;for(q=Re;q<=ze;q++){const Le=$[q];if(y>=L){me(Le,ce,ye,!0);continue}let re;if(Le.key!=null)re=et.get(Le.key);else for(k=qe;k<=De;k++)if(fe[k-qe]===0&&dr(Le,R[k])){re=k;break}re===void 0?me(Le,ce,ye,!0):(fe[re-qe]=q+1,re>=ee?ee=re:K=!0,g(Le,R[re],Y,null,ce,ye,Ce,pe,V),y++)}const Se=K?Hw(fe):ro;for(k=Se.length-1,q=L-1;q>=0;q--){const Le=qe+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===We){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:Re}=pe,qe=()=>r(ye,R,Y),et=()=>{ze(ye,()=>{qe(),Re&&Re()})};De?De(ye,qe,et):et()}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&&yl(pe,null,Y,$,!0),$e&256){R.ctx.deactivate($);return}const Re=$e&1&&De,qe=!ws($);let et;if(qe&&(et=Ce&&Ce.onVnodeBeforeUnmount)&&vn(et,R,$),$e&6)ie($.component,Y,le);else{if($e&128){$.suspense.unmount(Y,le);return}Re&&ur($,null,R,"beforeUnmount"),$e&64?$.type.remove($,R,Y,ce,Ie,le):q&&(ye!==We||ze>0&&ze&64)?se(q,R,Y,!1,!0):(ye===We&&ze&384||!ce&&$e&16)&&se(V,R,Y),le&&we($)}(qe&&(et=Ce&&Ce.onVnodeUnmounted)||Re)&&Xt(()=>{et&&vn(et,R,$),Re&&ur($,null,R,"unmounted")},Y)},we=$=>{const{type:R,el:Y,anchor:le,transition:ce}=$;if(R===We){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&&oo(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),je=($,R,Y)=>{$==null?R._vnode&&me(R._vnode,null,null,!0):g(R._vnode||null,$,R,null,null,null,Y),hl(),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:je,hydrate:Ee,createApp:Vw(je,Ee)}}function ls({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function um(e,t,n=!1){const r=e.children,s=t.children;if(Ue(r)&&Ue(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||um(i,a))}}function Hw(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 Uw=e=>e.__isTeleport,ui=e=>e&&(e.disabled||e.disabled===""),Kf=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Hc=(e,t)=>{const n=e&&e.to;return Ot(n)?t?t(n):null:n},qw={__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=ui(t.props);let{shapeFlag:w,children:x,dynamicChildren:z}=t;if(e==null){const S=t.el=_(""),O=t.anchor=_("");p(S,n,r),p(O,n,r);const j=t.target=Hc(t.props,h),F=t.targetAnchor=_("");j&&(p(F,j),i=i||Kf(j));const A=(M,W)=>{w&16&&m(x,M,W,s,o,i,a,l)};b?A(n,O):j&&A(j,F)}else{t.el=e.el;const S=t.anchor=e.anchor,O=t.target=e.target,j=t.targetAnchor=e.targetAnchor,F=ui(e.props),A=F?n:O,M=F?S:j;if(i=i||Kf(O),z?(d(e.dynamicChildren,z,A,s,o,i,a),um(e,t,!0)):l||f(e,t,A,M,s,o,i,a,!1),b)F||ca(t,n,S,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const W=t.target=Hc(t.props,h);W&&ca(t,W,null,c,0)}else F&&ca(t,O,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||!ui(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:ca,hydrate:Ww};function ca(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||ui(m))&&l&16)for(let d=0;d<c.length;d++)s(c[d],t,n,2);f&&r(a,t,n)}function Ww(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l}},c){const m=t.target=Hc(t.props,l);if(m){const f=m._lpa||m.firstChild;if(t.shapeFlag&16)if(ui(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=qw,We=Symbol(void 0),es=Symbol(void 0),an=Symbol(void 0),Cs=Symbol(void 0),ci=[];let wn=null;function E(e=!1){ci.push(wn=e?null:[])}function Sg(){ci.pop(),wn=ci[ci.length-1]||null}let Ss=1;function Uc(e){Ss+=e}function Eg(e){return e.dynamicChildren=Ss>0?wn||ro:null,Sg(),Ss>0&&wn&&wn.push(e),e}function D(e,t,n,r,s,o){return Eg(u(e,t,n,r,s,o,!0))}function xe(e,t,n,r,s){return Eg(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 Gw(e){}const tu="__vInternal",$g=({key:e})=>e??null,tl=({ref:e,ref_key:t,ref_for:n})=>e!=null?Ot(e)||Ut(e)||Qe(e)?{i:rn,r:e,k:t,f:!!n}:e:null;function u(e,t=null,n=null,r=0,s=null,o=e===We?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&$g(t),ref:t&&tl(t),scopeId:Zl,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?(cm(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ot(n)?8:16),Ss>0&&!i&&wn&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&wn.push(l),l}const C=Kw;function Kw(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===mg)&&(e=an),ts(e)){const a=hr(e,t,!0);return n&&cm(a,n),Ss>0&&!o&&wn&&(a.shapeFlag&6?wn[wn.indexOf(e)]=a:wn.push(a)),a.patchFlag|=-2,a}if(sC(e)&&(e=e.__vccOpts),t){t=Ag(t);let{class:a,style:l}=t;a&&!Ot(a)&&(t.class=Ze(a)),Rt(l)&&(Kd(l)&&!Ue(l)&&(l=Mt({},l)),t.style=ss(l))}const i=Ot(e)?1:X_(e)?128:Uw(e)?64:Rt(e)?4:Qe(e)?2:0;return u(e,t,n,r,s,i,o,!0)}function Ag(e){return e?Kd(e)||tu in e?Mt({},e):e:null}function hr(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,a=t?dm(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&$g(a),ref:t&&t.ref?n&&s?Ue(s)?s.concat(tl(t)):[s,tl(t)]:tl(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==We?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&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 Zw(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 Tn(e){return e==null||typeof e=="boolean"?C(an):Ue(e)?C(We,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 cm(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Ue(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),cm(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(tu in t)?t._ctx=rn:s===3&&rn&&(rn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Qe(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 dm(...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=Ze([t.class,r.class]));else if(s==="style")t.style=ss([t.style,r.style]);else if(Di(s)){const o=t[s],i=r[s];i&&o!==i&&!(Ue(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 Yw=Cg();let Jw=0;function Og(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Yw,o={uid:Jw++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ud(!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:yg(r,s),emitsOptions:J_(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=ow.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 Tg(e){return e.vnode.shapeFlag&4}let fo=!1;function Pg(e,t=!1){fo=t;const{props:n,children:r}=e.vnode,s=Tg(e);Iw(e,n,s,t),Rw(e,r);const o=s?Xw(e,t):void 0;return fo=!1,o}function Xw(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Zd(new Proxy(e.ctx,Nc));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Fg(e):null;ns(e),$s();const o=fr(r,e,0,[e.props,s]);if(As(),Yr(),Bd(o)){if(o.then(Yr,Yr),t)return o.then(i=>{qc(e,i,t)}).catch(i=>{Ts(i,e,0)});e.asyncDep=o}else qc(e,o,t)}else Dg(e,t)}function qc(e,t,n){Qe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Rt(t)&&(e.setupState=Xd(t)),Dg(e,n)}let vl,Wc;function Qw(e){vl=e,Wc=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Aw))}}const eC=()=>!vl;function Dg(e,t,n){const r=e.type;if(!e.render){if(!t&&vl&&!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=vl(s,c)}}e.render=r.render||nr,Wc&&Wc(e)}ns(e),$s(),Ow(e),As(),Yr()}function tC(e){return new Proxy(e.attrs,{get(t,n){return Mn(e,"get","$attrs"),t[n]}})}function Fg(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=tC(e))},slots:e.slots,emit:e.emit,expose:t}}function nu(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Xd(Zd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in _l)return _l[n](e)}}))}const nC=/(?:^|[-_])(\w)/g,rC=e=>e.replace(nC,t=>t.toUpperCase()).replace(/[-_]/g,"");function bl(e,t=!0){return Qe(e)?e.displayName||e.name:e.name||t&&e.__name}function Ig(e,t,n=!1){let r=bl(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?rC(r):n?"App":"Anonymous"}function sC(e){return Qe(e)&&"__vccOpts"in e}const At=(e,t)=>Y0(e,t,fo);function oC(){return null}function iC(){return null}function aC(e){}function lC(e,t){return null}function uC(){return Lg().slots}function cC(){return Lg().attrs}function Lg(){const e=or();return e.setupContext||(e.setupContext=Fg(e))}function dC(e,t){const n=Ue(e)?e.reduce((r,s)=>(r[s]={},r),{}):e;for(const r in t){const s=n[r];s?Ue(s)||Qe(s)?n[r]={type:s,default:t[r]}:s.default=t[r]:s===null&&(n[r]={default:t[r]})}return n}function mC(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function fC(e){const t=or();let n=e();return Yr(),Bd(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)&&!Ue(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 Mg=Symbol(""),pC=()=>{{const e=rr(Mg);return e||U_("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function hC(){}function _C(e,t,n,r){const s=n[r];if(s&&Rg(s,e))return s;const o=t();return o.memo=e.slice(),n[r]=o}function Rg(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(uo(n[r],t[r]))return!1;return Ss>0&&wn&&wn.push(e),!0}const Ng="3.2.37",gC={createComponentInstance:Og,setupComponent:Pg,renderComponentRoot:el,setCurrentRenderingInstance:Si,isVNode:ts,normalizeVNode:Tn},yC=gC,vC=null,bC=null,wC="http://www.w3.org/2000/svg",gs=typeof document<"u"?document:null,Zf=gs&&gs.createElement("template"),CC={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(wC,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{Zf.innerHTML=r?`<svg>${e}</svg>`:e;const a=Zf.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 zC(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 xC(e,t,n){const r=e.style,s=Ot(n);if(n&&!s){for(const o in n)Gc(r,o,n[o]);if(t&&!Ot(t))for(const o in t)n[o]==null&&Gc(r,o,"")}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const Yf=/\s*!important$/;function Gc(e,t,n){if(Ue(n))n.forEach(r=>Gc(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=kC(e,t);Yf.test(n)?e.setProperty(mr(r),n.replace(Yf,""),"important"):e[r]=n}}const Jf=["Webkit","Moz","ms"],Nu={};function kC(e,t){const n=Nu[t];if(n)return n;let r=Ln(t);if(r!=="filter"&&r in e)return Nu[t]=r;r=Ii(r);for(let s=0;s<Jf.length;s++){const o=Jf[s]+r;if(o in e)return Nu[t]=o}return t}const Xf="http://www.w3.org/1999/xlink";function SC(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Xf,t.slice(6,t.length)):e.setAttributeNS(Xf,t,n);else{const o=Xb(t);n==null||o&&!z_(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function EC(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=z_(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}const[jg,$C]=(()=>{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 Kc=0;const AC=Promise.resolve(),OC=()=>{Kc=0},TC=()=>Kc||(AC.then(OC),Kc=jg());function Cr(e,t,n,r){e.addEventListener(t,n,r)}function PC(e,t,n,r){e.removeEventListener(t,n,r)}function DC(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]=FC(t);if(r){const c=o[t]=IC(r,s);Cr(e,a,c,l)}else i&&(PC(e,a,i,l),o[t]=void 0)}}const Qf=/(?:Once|Passive|Capture)$/;function FC(e){let t;if(Qf.test(e)){t={};let n;for(;n=e.match(Qf);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[mr(e.slice(2)),t]}function IC(e,t){const n=r=>{const s=r.timeStamp||jg();($C||s>=n.attached-1)&&Fn(LC(r,n.value),t,5,[r])};return n.value=e,n.attached=TC(),n}function LC(e,t){if(Ue(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 ep=/^on[a-z]/,MC=(e,t,n,r,s=!1,o,i,a,l)=>{t==="class"?zC(e,r,s):t==="style"?xC(e,n,r):Di(t)?jd(t)||DC(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):RC(e,t,r,s))?EC(e,t,r,o,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),SC(e,t,r,s))};function RC(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&ep.test(t)&&Qe(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ep.test(t)&&Ot(n)?!1:t in e}function Vg(e,t){const n=Ri(e);class r extends ru{constructor(o){super(n,o,t)}}return r.def=n,r}const NC=e=>Vg(e,ey),jC=typeof HTMLElement<"u"?HTMLElement:class{};class ru extends jC{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,Wl(()=>{this._connected||(Yc(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=!Ue(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(){Yc(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 ru){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 VC(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 BC(e){const t=or();if(!t)return;const n=()=>Zc(t.subTree,e(t.proxy));eg(n),Ps(()=>{const r=new MutationObserver(n);r.observe(t.subTree.el.parentNode,{childList:!0}),xo(()=>r.disconnect())})}function Zc(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Zc(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)tp(e.el,t);else if(e.type===We)e.children.forEach(n=>Zc(n,t));else if(e.type===Cs){let{el:n,anchor:r}=e;for(;n&&(tp(n,t),n!==r);)n=n.nextSibling}}function tp(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const Ir="transition",Fo="animation",qt=(e,{slots:t})=>Cn(om,Hg(e),t);qt.displayName="Transition";const Bg={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},HC=qt.props=Mt({},om.props,Bg),us=(e,t=[])=>{Ue(e)?e.forEach(n=>n(...t)):e&&e(...t)},np=e=>e?Ue(e)?e.some(t=>t.length>1):e.length>1:!1;function Hg(e){const t={};for(const I in e)I in Bg||(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=UC(s),_=h&&h[0],g=h&&h[1],{onBeforeEnter:b,onEnter:w,onEnterCancelled:x,onLeave:z,onLeaveCancelled:S,onBeforeAppear:O=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]),rp(()=>{jr(H,I?l:o),br(H,I?m:a),np(oe)||sp(H,r,_,J)})};return Mt(t,{onBeforeEnter(I){us(b,[I]),br(I,o),br(I,i)},onBeforeAppear(I){us(O,[I]),br(I,l),br(I,c)},onEnter:W(!1),onAppear:W(!0),onLeave(I,H){I._isLeaving=!0;const B=()=>M(I,H);br(I,f),qg(),br(I,d),rp(()=>{I._isLeaving&&(jr(I,f),br(I,p),np(z)||sp(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 UC(e){if(e==null)return null;if(Rt(e))return[ju(e.enter),ju(e.leave)];{const t=ju(e);return[t,t]}}function ju(e){return Xr(e)}function br(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 rp(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let qC=0;function sp(e,t,n,r){const s=e._endId=++qC,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=Ug(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 Ug(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(Ir+"Delay"),o=r(Ir+"Duration"),i=op(s,o),a=r(Fo+"Delay"),l=r(Fo+"Duration"),c=op(a,l);let m=null,f=0,d=0;t===Ir?i>0&&(m=Ir,f=i,d=o.length):t===Fo?c>0&&(m=Fo,f=c,d=l.length):(f=Math.max(i,c),m=f>0?i>c?Ir:Fo: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 op(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>ip(n)+ip(e[r])))}function ip(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function qg(){return document.body.offsetHeight}const Wg=new WeakMap,Gg=new WeakMap,WC={name:"TransitionGroup",props:Mt({},HC,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=or(),r=sm();let s,o;return Xl(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!JC(s[0].el,n.vnode.el,i))return;s.forEach(KC),s.forEach(ZC);const a=s.filter(YC);qg(),a.forEach(l=>{const c=l.el,m=c.style;br(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=Hg(i);let l=i.tag||We;s=o,o=t.default?Yl(t.default()):[];for(let c=0;c<o.length;c++){const m=o[c];m.key!=null&&ks(m,mo(m,a,r,n))}if(s)for(let c=0;c<s.length;c++){const m=s[c];ks(m,mo(m,a,r,n)),Wg.set(m,m.el.getBoundingClientRect())}return C(l,null,o)}}},GC=WC;function KC(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function ZC(e){Gg.set(e,e.el.getBoundingClientRect())}function YC(e){const t=Wg.get(e),n=Gg.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 JC(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}=Ug(r);return s.removeChild(r),o}const rs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ue(t)?n=>oo(t,n):t};function XC(e){e.target.composing=!0}function ap(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";Cr(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&&Cr(e,"change",()=>{e.value=e.value.trim()}),t||(Cr(e,"compositionstart",XC),Cr(e,"compositionend",ap),Cr(e,"change",ap))},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)}},Sr={deep:!0,created(e,t,n){e._assign=rs(n),Cr(e,"change",()=>{const r=e._modelValue,s=po(e),o=e.checked,i=e._assign;if(Ue(r)){const a=Nl(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(Kg(e,o))})},mounted:lp,beforeUpdate(e,t,n){e._assign=rs(n),lp(e,t,n)}};function lp(e,{value:t,oldValue:n},r){e._modelValue=t,Ue(t)?e.checked=Nl(t,r.props.value)>-1:Es(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Jr(t,Kg(e,!0)))}const mm={created(e,{value:t},n){e.checked=Jr(t,n.props.value),e._assign=rs(n),Cr(e,"change",()=>{e._assign(po(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=rs(r),t!==n&&(e.checked=Jr(t,r.props.value))}},fm={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=Es(t);Cr(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Xr(po(i)):po(i));e._assign(e.multiple?s?new Set(o):o:o[0])}),e._assign=rs(r)},mounted(e,{value:t}){up(e,t)},beforeUpdate(e,t,n){e._assign=rs(n)},updated(e,{value:t}){up(e,t)}};function up(e,t){const n=e.multiple;if(!(n&&!Ue(t)&&!Es(t))){for(let r=0,s=e.options.length;r<s;r++){const o=e.options[r],i=po(o);if(n)Ue(t)?o.selected=Nl(t,i)>-1:o.selected=t.has(i);else if(Jr(po(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function po(e){return"_value"in e?e._value:e.value}function Kg(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Zg={created(e,t,n){da(e,t,n,null,"created")},mounted(e,t,n){da(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){da(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){da(e,t,n,r,"updated")}};function Yg(e,t){switch(e){case"SELECT":return fm;case"TEXTAREA":return xn;default:switch(t){case"checkbox":return Sr;case"radio":return mm;default:return xn}}}function da(e,t,n,r,s){const i=Yg(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,r)}function QC(){xn.getSSRProps=({value:e})=>({value:e}),mm.getSSRProps=({value:e},t)=>{if(t.props&&Jr(t.props.value,e))return{checked:!0}},Sr.getSSRProps=({value:e},t)=>{if(Ue(e)){if(t.props&&Nl(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}},Zg.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Yg(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const ez=["ctrl","shift","alt","meta"],tz={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)=>ez.some(n=>e[`${n}Key`]&&!t.includes(n))},ht=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const o=tz[t[s]];if(o&&o(n,t))return}return e(n,...r)},nz={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||nz[s]===r))return e(n)},ho={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Io(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),Io(e,!0),r.enter(e)):r.leave(e,()=>{Io(e,!1)}):Io(e,t))},beforeUnmount(e,{value:t}){Io(e,t)}};function Io(e,t){e.style.display=t?e._vod:"none"}function rz(){ho.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Jg=Mt({patchProp:MC},CC);let di,cp=!1;function Xg(){return di||(di=zg(Jg))}function Qg(){return di=cp?di:xg(Jg),cp=!0,di}const Yc=(...e)=>{Xg().render(...e)},ey=(...e)=>{Qg().hydrate(...e)},ty=(...e)=>{const t=Xg().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=ny(r);if(!s)return;const o=t._component;!Qe(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},sz=(...e)=>{const t=Qg().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=ny(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function ny(e){return Ot(e)?document.querySelector(e):e}let dp=!1;const oz=()=>{dp||(dp=!0,QC(),rz())},iz=()=>{},az=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:om,Comment:an,EffectScope:Ud,Fragment:We,KeepAlive:kw,ReactiveEffect:Li,Static:Cs,Suspense:pw,Teleport:os,Text:es,Transition:qt,TransitionGroup:GC,VueElement:ru,callWithAsyncErrorHandling:Fn,callWithErrorHandling:fr,camelize:Ln,capitalize:Ii,cloneVNode:hr,compatUtils:bC,compile:iz,computed:At,createApp:ty,createBlock:xe,createCommentVNode:Q,createElementBlock:D,createElementVNode:u,createHydrationRenderer:xg,createPropsRestProxy:mC,createRenderer:zg,createSSRApp:sz,createSlots:ji,createStaticVNode:Zw,createTextVNode:yt,createVNode:C,customRef:G0,defineAsyncComponent:zw,defineComponent:Ri,defineCustomElement:Vg,defineEmits:iC,defineExpose:aC,defineProps:oC,defineSSRCustomElement:NC,get devtools(){return Ys},effect:_0,effectScope:d0,getCurrentInstance:or,getCurrentScope:m0,getTransitionRawChildren:Yl,guardReactiveProps:Ag,h:Cn,handleError:Ts,hydrate:ey,initCustomFormatter:hC,initDirectivesForSSR:oz,inject:rr,isMemoSame:Rg,isProxy:Kd,isReactive:bs,isReadonly:co,isRef:Ut,isRuntimeOnly:eC,isShallow:fl,isVNode:ts,markRaw:Zd,mergeDefaults:dC,mergeProps:dm,nextTick:Wl,normalizeClass:Ze,normalizeProps:n0,normalizeStyle:ss,onActivated:rg,onBeforeMount:ig,onBeforeUnmount:Ql,onBeforeUpdate:ag,onDeactivated:sg,onErrorCaptured:dg,onMounted:Ps,onRenderTracked:cg,onRenderTriggered:ug,onScopeDispose:f0,onServerPrefetch:lg,onUnmounted:xo,onUpdated:Xl,openBlock:E,popScopeId:aw,provide:li,proxyRefs:Xd,pushScopeId:iw,queuePostFlushCb:tm,reactive:Os,readonly:Gd,ref:bn,registerRuntimeCompiler:Qw,render:Yc,renderList:wt,renderSlot:zt,resolveComponent:P,resolveDirective:eu,resolveDynamicComponent:fg,resolveFilter:vC,resolveTransitionHooks:mo,setBlockTracking:Uc,setDevtoolsHook:Y_,setTransitionHooks:ks,shallowReactive:j_,shallowReadonly:B0,shallowRef:V_,ssrContextKey:Mg,ssrUtils:yC,stop:g0,toDisplayString:v,toHandlerKey:ri,toHandlers:$w,toRaw:lt,toRef:H_,toRefs:si,transformVNodeArgs:Gw,triggerRef:U0,unref:io,useAttrs:cC,useCssModule:VC,useCssVars:BC,useSSRContext:pC,useSlots:uC,useTransitionState:sm,vModelCheckbox:Sr,vModelDynamic:Zg,vModelRadio:mm,vModelSelect:fm,vModelText:xn,vShow:ho,version:Ng,warn:U_,watch:It,watchEffect:vw,watchPostEffect:eg,watchSyncEffect:bw,withAsyncContext:fC,withCtx:T,withDefaults:lC,withDirectives:xt,withKeys:Pn,withMemo:_C,withModifiers:ht,withScopeId:lw},Symbol.toStringTag,{value:"Module"}));/*!
|
||
* @intlify/shared v9.1.10
|
||
* (c) 2022 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const lz=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Ar=e=>lz?Symbol(e):e,uz=(e,t,n)=>cz({l:e,k:t,s:n}),cz=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Qt=e=>typeof e=="number"&&isFinite(e),dz=e=>hm(e)==="[object Date]",wl=e=>hm(e)==="[object RegExp]",su=e=>mt(e)&&Object.keys(e).length===0;function mz(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const fn=Object.assign;let mp;const pm=()=>mp||(mp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function fp(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const fz=Object.prototype.hasOwnProperty;function ry(e,t){return fz.call(e,t)}const sn=Array.isArray,dn=e=>typeof e=="function",Ge=e=>typeof e=="string",Zt=e=>typeof e=="boolean",pn=e=>e!==null&&typeof e=="object",sy=Object.prototype.toString,hm=e=>sy.call(e),mt=e=>hm(e)==="[object Object]",pz=e=>e==null?"":sn(e)||mt(e)&&e.toString===sy?JSON.stringify(e,null,2):String(e);/*!
|
||
* @intlify/message-resolver v9.1.10
|
||
* (c) 2022 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const hz=Object.prototype.hasOwnProperty;function _z(e,t){return hz.call(e,t)}const nl=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 gz=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function yz(e){return gz.test(e)}function vz(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 bz(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 wz(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:yz(t)?vz(t):"*"+t}function Cz(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=wz(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=bz(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 pp=new Map;function Cl(e,t){if(!nl(e))return null;let n=pp.get(t);if(n||(n=Cz(t),n&&pp.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 Jc(e){if(!nl(e))return e;for(const t in e)if(_z(e,t))if(!t.includes("."))nl(e[t])&&Jc(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],nl(s[n[r]])&&Jc(s[n[r]])}return e}/*!
|
||
* @intlify/runtime v9.1.10
|
||
* (c) 2022 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const zz=e=>e,xz=e=>"",kz="text",Sz=e=>e.length===0?"":e.join(""),Ez=pz;function hp(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function $z(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 Az(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Oz(e={}){const t=e.locale,n=$z(e),r=pn(e.pluralRules)&&Ge(t)&&dn(e.pluralRules[t])?e.pluralRules[t]:hp,s=pn(e.pluralRules)&&Ge(t)&&dn(e.pluralRules[t])?hp:void 0,o=g=>g[r(n,g.length,s)],i=e.list||[],a=g=>i[g],l=e.named||{};Qt(e.pluralIndex)&&Az(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):xz)}const f=g=>e.modifiers?e.modifiers[g]:zz,d=mt(e.processor)&&dn(e.processor.normalize)?e.processor.normalize:Sz,p=mt(e.processor)&&dn(e.processor.interpolate)?e.processor.interpolate:Ez,h=mt(e.processor)&&Ge(e.processor.type)?e.processor.type:kz,_={list:a,named:c,plural:o,linked:(g,b)=>{const w=m(g)(_);return Ge(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 oy(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 iy={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
|
||
* @intlify/core-base v9.1.10
|
||
* (c) 2022 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/let $i=null;function Tz(e){$i=e}function Pz(e,t,n){$i&&$i.emit(iy.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Dz=Fz(iy.FunctionTranslate);function Fz(e){return t=>$i&&$i.emit(e,t)}const Iz="9.1.10",ou=-1,_p="";function Lz(){return{upper:e=>Ge(e)?e.toUpperCase():e,lower:e=>Ge(e)?e.toLowerCase():e,capitalize:e=>Ge(e)?`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`:e}}let Mz,ay=null;const gp=e=>{ay=e},Rz=()=>ay;let yp=0;function Nz(e={}){const t=Ge(e.version)?e.version:Iz,n=Ge(e.locale)?e.locale:"en-US",r=sn(e.fallbackLocale)||mt(e.fallbackLocale)||Ge(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||{},Lz()),l=e.pluralRules||{},c=dn(e.missing)?e.missing:null,m=Zt(e.missingWarn)||wl(e.missingWarn)?e.missingWarn:!0,f=Zt(e.fallbackWarn)||wl(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:Mz,x=dn(e.onWarn)?e.onWarn:mz,z=e,S=pn(z.__datetimeFormatters)?z.__datetimeFormatters:new Map,O=pn(z.__numberFormatters)?z.__numberFormatters:new Map,j=pn(z.__meta)?z.__meta:{};yp++;const F={version:t,cid:yp,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:O,__meta:j};return __INTLIFY_PROD_DEVTOOLS__&&Pz(F,t,j),F}function _m(e,t,n,r,s){const{missing:o,onWarn:i}=e;if(o!==null){const a=o(e,n,t,s);return Ge(a)?a:t}else return t}function Vi(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=vp(s,o,t);const i=sn(t)?t:mt(t)?t.default?t.default:null:t;o=Ge(i)?[i]:i,sn(o)&&vp(s,o,!1),r.__localeChainCache.set(n,s)}return s}function vp(e,t,n){let r=!0;for(let s=0;s<t.length&&Zt(r);s++){const o=t[s];Ge(o)&&(r=jz(e,t[s],n))}return r}function jz(e,t,n){let r;const s=t.split("-");do{const o=s.join("-");r=Vz(e,o,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function Vz(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 Lo(e,t,n){const r=e;r.__localeChainCache=new Map,Vi(e,n,t)}function to(e){return oy(e,null,void 0)}const bp=()=>"",cr=e=>dn(e);function wp(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,fallbackLocale:o,messages:i}=e,[a,l]=Xc(...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=Ge(l.default)||Zt(l.default)?Zt(l.default)?a:l.default:n?a:"",h=n||p!=="",_=Ge(l.locale)?l.locale:e.locale;f&&Bz(l);let[g,b,w]=d?[a,_,i[_]||{}]:Hz(e,a,_,o,m,c),x=a;if(!d&&!(Ge(g)||cr(g))&&h&&(g=p,x=g),!d&&(!(Ge(g)||cr(g))||!Ge(b)))return s?ou:a;let z=!1;const S=()=>{z=!0},O=cr(g)?g:ly(e,a,b,g,x,S);if(z)return g;const j=Wz(e,b,w,l),F=Oz(j),A=Uz(e,O,F),M=r?r(A):A;if(__INTLIFY_PROD_DEVTOOLS__){const W={timestamp:Date.now(),key:Ge(a)?a:cr(g)?g.key:"",locale:b||(cr(g)?g.locale:""),format:Ge(g)?g:cr(g)?g.source:"",message:M};W.meta=fn({},e.__meta,Rz()||{}),Dz(W)}return M}function Bz(e){sn(e.list)?e.list=e.list.map(t=>Ge(t)?fp(t):t):pn(e.named)&&Object.keys(e.named).forEach(t=>{Ge(e.named[t])&&(e.named[t]=fp(e.named[t]))})}function Hz(e,t,n,r,s,o){const{messages:i,onWarn:a}=e,l=Vi(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=Cl(c,t))===null&&(f=c[t]),!(Ge(f)||dn(f)));p++){const h=_m(e,t,m,o,d);h!==t&&(f=h)}return[f,m,c]}function ly(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,qz(e,n,s,r,a,o));return l.locale=n,l.key=t,l.source=r,l}function Uz(e,t,n){return t(n)}function Xc(...e){const[t,n,r]=e,s={};if(!Ge(t)&&!Qt(t)&&!cr(t))throw to(14);const o=Qt(t)?String(t):(cr(t),t);return Qt(n)?s.plural=n:Ge(n)?s.default=n:mt(n)&&!su(n)?s.named=n:sn(n)&&(s.list=n),Qt(r)?s.plural=r:Ge(r)?s.default=r:mt(r)&&fn(s,r),[o,s]}function qz(e,t,n,r,s,o){return{warnHtmlMessage:s,onError:i=>{throw o&&o(i),i},onCacheKey:i=>uz(t,n,i)}}function Wz(e,t,n,r){const{modifiers:s,pluralRules:o}=e,a={locale:t,modifiers:s,pluralRules:o,messages:l=>{const c=Cl(n,l);if(Ge(c)){let m=!1;const d=ly(e,l,t,c,l,()=>{m=!0});return m?bp:d}else return cr(c)?c:bp}};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 Cp(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o}=e,{__datetimeFormatters:i}=e,[a,l,c,m]=Qc(...t),f=Zt(c.missingWarn)?c.missingWarn:e.missingWarn;Zt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const d=!!c.part,p=Ge(c.locale)?c.locale:e.locale,h=Vi(e,s,p);if(!Ge(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++)_m(e,a,g,f,w);if(!mt(b)||!Ge(g))return r?ou:a;let x=`${g}__${a}`;su(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 Qc(...e){const[t,n,r,s]=e;let o={},i={},a;if(Ge(t)){if(!/\d{4}-\d{2}-\d{2}(T.*)?/.test(t))throw to(16);a=new Date(t);try{a.toISOString()}catch{throw to(16)}}else if(dz(t)){if(isNaN(t.getTime()))throw to(15);a=t}else if(Qt(t))a=t;else throw to(14);return Ge(n)?o.key=n:mt(n)&&(o=n),Ge(r)?o.locale=r:mt(r)&&(i=r),mt(s)&&(i=s),[o.key||"",a,o,i]}function zp(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function xp(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o}=e,{__numberFormatters: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=Ge(c.locale)?c.locale:e.locale,h=Vi(e,s,p);if(!Ge(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++)_m(e,a,g,f,w);if(!mt(b)||!Ge(g))return r?ou:a;let x=`${g}__${a}`;su(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 ed(...e){const[t,n,r,s]=e;let o={},i={};if(!Qt(t))throw to(14);const a=t;return Ge(n)?o.key=n:mt(n)&&(o=n),Ge(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.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(pm().__INTLIFY_PROD_DEVTOOLS__=!1);function Gz(){return uy().__VUE_DEVTOOLS_GLOBAL_HOOK__}function uy(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const Kz=typeof Proxy=="function",Zz="devtools-plugin:setup",Yz="plugin:settings:set";let Rs,td;function Jz(){var e;return Rs!==void 0||(typeof window<"u"&&window.performance?(Rs=!0,td=window.performance):typeof global<"u"&&(!((e=global.perf_hooks)===null||e===void 0)&&e.performance)?(Rs=!0,td=global.perf_hooks.performance):Rs=!1),Rs}function Xz(){return Jz()?td.now():Date.now()}class Qz{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 Xz()}},n&&n.on(Yz,(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 ex(e,t){const n=e,r=uy(),s=Gz(),o=Kz&&n.enableEarlyProxy;if(s&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))s.emit(Zz,e,t);else{const i=o?new Qz(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 tx="9.1.10";function nx(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(pm().__INTLIFY_PROD_DEVTOOLS__=!1)}function Hn(e,...t){return oy(e,null,void 0)}const Vu="__INTLIFY_META__",nd=Ar("__transrateVNode"),rd=Ar("__datetimeParts"),sd=Ar("__numberParts");Ar("__enableEmitter");Ar("__disableEmitter");const rx=Ar("__setPluralRules");Ar("__intlifyMeta");const cy=Ar("__injectWithOption");let Sp=0;function Ep(e){return(t,n,r,s)=>e(n,r,or()||void 0,s)}function dy(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]||{},zl(i,s[o])):zl(i,s)}),t.flatJson)for(const o in s)ry(s,o)&&Jc(s[o]);return s}const ma=e=>!pn(e)||sn(e);function zl(e,t){if(ma(e)||ma(t))throw Hn(20);for(const n in e)ry(e,n)&&(ma(e[n])||ma(t[n])?t[n]=e[n]:zl(e[n],t[n]))}const sx=()=>{const e=or();return e&&e.type[Vu]?{[Vu]:e.type[Vu]}:null};function my(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:Ge(e.locale)?e.locale:"en-US"),o=bn(t&&r?t.fallbackLocale.value:Ge(e.fallbackLocale)||sn(e.fallbackLocale)||mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),i=bn(dy(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)||wl(e.missingWarn)?e.missingWarn:!0,m=t?t.fallbackWarn:Zt(e.fallbackWarn)||wl(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)?Ep(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 Nz({version:tx,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(),Lo(z,s.value,o.value);function O(){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,Lo(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=Ep(V)),p=V,z.missing=h}function J(V,q,$e,ze,De,Re){O();let qe;if(__INTLIFY_PROD_DEVTOOLS__)try{gp(sx()),qe=V(z)}finally{gp(null)}else qe=V(z);if(Qt(qe)&&qe===ou){const[et,k]=q();return t&&f?ze(t):De(et)}else{if(Re(qe))return qe;throw Hn(14)}}function ue(...V){return J(q=>wp(q,...V),()=>Xc(...V),"translate",q=>q.t(...V),q=>q,q=>Ge(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=>Cp(q,...V),()=>Qc(...V),"datetime format",q=>q.d(...V),()=>_p,q=>Ge(q))}function Be(...V){return J(q=>xp(q,...V),()=>ed(...V),"number format",q=>q.n(...V),()=>_p,q=>Ge(q))}function he(V){return V.map(q=>Ge(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=wp(ze,...V)}finally{ze.processor=null}return $e},()=>Xc(...V),"translate",q=>q[nd](...V),q=>[C(es,null,q,0)],q=>sn(q))}function U(...V){return J(q=>xp(q,...V),()=>ed(...V),"number format",q=>q[sd](...V),()=>[],q=>Ge(q)||sn(q))}function ie(...V){return J(q=>Cp(q,...V),()=>Qc(...V),"datetime format",q=>q[rd](...V),()=>[],q=>Ge(q)||sn(q))}function se(V){x=V,z.pluralRules=x}function be(V,q){const $e=Ge(q)?q:s.value,ze=Ee($e);return Cl(ze,V)!==null}function je(V){let q=null;const $e=Vi(z,o.value,s.value);for(let ze=0;ze<$e.length;ze++){const De=i.value[$e[ze]]||{},Re=Cl(De,V);if(Re!=null){q=Re;break}}return q}function Ie(V){const q=je(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]||{},zl(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,zp(z,V,q)}function le(V,q){a.value[V]=fn(a.value[V]||{},q),z.datetimeFormats=a.value,zp(z,V,q)}function ce(V){return l.value[V]||{}}function ye(V,q){l.value[V]=q,z.numberFormats=l.value,kp(z,V,q)}function Ce(V,q){l.value[V]=fn(l.value[V]||{},q),z.numberFormats=l.value,kp(z,V,q)}return Sp++,t&&(It(t.locale,V=>{r&&(s.value=V,z.locale=V,Lo(z,s.value,o.value))}),It(t.fallbackLocale,V=>{r&&(o.value=V,z.fallbackLocale=V,Lo(z,s.value,o.value))})),{id:Sp,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,Lo(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:Be,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,[nd]:we,[sd]:U,[rd]:ie,[rx]:se,[cy]:e.__injectWithOption}}const gm={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}},$p={name:"i18n-t",props:fn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Qt(e)||!isNaN(e)}},gm),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||ym({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=Ge(e.plural)?+e.plural:e.plural);const a=ox(t,o),l=s[nd](e.keypath,a,i),c=fn({},r);return Ge(e.tag)||pn(e.tag)?Cn(e.tag,c,l):Cn(We,c,l)}}};function ox({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 fy(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),Ge(e.format)?i.key=e.format:pn(e.format)&&(Ge(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]}):Ge(l)&&(c=[l]);const m=fn({},o);return Ge(e.tag)||pn(e.tag)?Cn(e.tag,m,c):Cn(We,m,c)}}const ix=["localeMatcher","style","unit","unitDisplay","currency","currencyDisplay","useGrouping","numberingSystem","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","notation","formatMatcher"],Ap={name:"i18n-n",props:fn({value:{type:Number,required:!0},format:{type:[String,Object]}},gm),setup(e,t){const n=e.i18n||ym({useScope:"parent",__useComponent:!0});return fy(e,t,ix,(...r)=>n[sd](...r))}},ax=["dateStyle","timeStyle","fractionalSecondDigits","calendar","dayPeriod","numberingSystem","localeMatcher","timeZone","hour12","hourCycle","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"],Op={name:"i18n-d",props:fn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},gm),setup(e,t){const n=e.i18n||ym({useScope:"parent",__useComponent:!0});return fy(e,t,ax,(...r)=>n[rd](...r))}};function lx(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 ux(e){const t=(n,{instance:r,value:s,modifiers:o})=>{if(!r||!r.$)throw Hn(22);const i=lx(e,r.$),a=cx(s);n.textContent=i.t(...dx(a))};return{beforeMount:t,beforeUpdate:t}}function cx(e){if(Ge(e))return{path:e};if(mt(e)){if(!("path"in e))throw Hn(19,"path");return e}else throw Hn(20)}function dx(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,i={},a=r||{};return Ge(n)&&(i.locale=n),Qt(s)&&(i.plural=s),Qt(o)&&(i.plural=o),[t,a,i]}function mx(e,t,...n){const r=mt(n[0])?n[0]:{},s=!!r.useI18nComponentName;(Zt(r.globalInstall)?r.globalInstall:!0)&&(e.component(s?"i18n":$p.name,$p),e.component(Ap.name,Ap),e.component(Op.name,Op)),e.directive("t",ux(t))}function fx(e={}){const t=!!e.globalInjection,n=new Map,r=my(e),s=Ar(""),o={get mode(){return"composition"},async install(i,...a){i.__VUE_I18N_SYMBOL__=s,i.provide(i.__VUE_I18N_SYMBOL__,o),t&&yx(i,o.global),mx(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 ym(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=su(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=dy(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=px(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=my(l),hx(o,t),o.__setInstance(t,i)}return i}function px(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[cy]&&(r=null)}if(r!=null||s===o)break;o=o.parent}return r}function hx(e,t,n){Ps(()=>{},t),xo(()=>{e.__deleteInstance(t)},t)}const _x=["locale","fallbackLocale","availableLocales"],gx=["t","rt","d","n","tm"];function yx(e,t){const n=Object.create(null);_x.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,gx.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s||!s.value)throw Hn(22);Object.defineProperty(e.config.globalProperties,`$${r}`,s)})}nx();if(__INTLIFY_PROD_DEVTOOLS__){const e=pm();e.__INTLIFY__=!0,Tz(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const vx={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"])},"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"])}},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"])}},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"])},"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"])}},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"])}},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"])},"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"])}},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"])}},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"])}}}},Bi=fx({legacy:!1,globalInjection:!0,availableLocales:"fr",locale:navigator.language,fallbackLocale:"en",fallbackWarn:!1,missingWarn:!1,messages:vx});/*!
|
||
* vuex v4.0.2
|
||
* (c) 2021 Evan You
|
||
* @license MIT
|
||
*/var bx="store";function ko(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function wx(e){return e!==null&&typeof e=="object"}function Cx(e){return e&&typeof e.then=="function"}function zx(e,t){return function(){return e(t)}}function py(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function hy(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;iu(e,n,[],e._modules.root,!0),vm(e,n,t)}function vm(e,t,n){var r=e._state;e.getters={},e._makeLocalGettersCache=Object.create(null);var s=e._wrappedGetters,o={};ko(s,function(i,a){o[a]=zx(i,e),Object.defineProperty(e.getters,a,{get:function(){return o[a]()},enumerable:!0})}),e._state=Os({data:t}),e.strict&&$x(e),r&&n&&e._withCommit(function(){r.data=null})}function iu(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=bm(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){a[l]=r.state})}var c=r.context=xx(e,i,n);r.forEachMutation(function(m,f){var d=i+f;kx(e,d,m,c)}),r.forEachAction(function(m,f){var d=m.root?f:i+f,p=m.handler||m;Sx(e,d,p,c)}),r.forEachGetter(function(m,f){var d=i+f;Ex(e,d,m,c)}),r.forEachChild(function(m,f){iu(e,t,n.concat(f),m,s)})}function xx(e,t,n){var r=t==="",s={dispatch:r?e.dispatch:function(o,i,a){var l=xl(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=xl(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 _y(e,t)}},state:{get:function(){return bm(e.state,n)}}}),s}function _y(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(s){if(s.slice(0,r)===t){var o=s.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[s]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function kx(e,t,n,r){var s=e._mutations[t]||(e._mutations[t]=[]);s.push(function(i){n.call(e,r.state,i)})}function Sx(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 Cx(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function Ex(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(o){return n(r.state,r.getters,o.state,o.getters)})}function $x(e){It(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function bm(e,t){return t.reduce(function(n,r){return n[r]},e)}function xl(e,t,n){return wx(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Ax="vuex bindings",Tp="vuex:mutations",Bu="vuex:actions",Ns="vuex",Ox=0;function Tx(e,t){ex({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:[Ax]},function(n){n.addTimelineLayer({id:Tp,label:"Vuex Mutations",color:Pp}),n.addTimelineLayer({id:Bu,label:"Vuex Actions",color:Pp}),n.addInspector({id:Ns,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===Ns)if(r.filter){var s=[];by(s,t._modules.root,r.filter,""),r.rootNodes=s}else r.rootNodes=[vy(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===Ns){var s=r.nodeId;_y(t,s),r.state=Fx(Lx(t._modules,s),s==="root"?t.getters:t._makeLocalGettersCache,s)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===Ns){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(Ns),n.sendInspectorState(Ns),n.addTimelineEvent({layerId:Tp,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=Ox++,r._time=Date.now(),o.state=s,n.addTimelineEvent({layerId:Bu,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:Bu,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:o}})}})})}var Pp=8702998,Px=6710886,Dx=16777215,gy={label:"namespaced",textColor:Dx,backgroundColor:Px};function yy(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function vy(e,t){return{id:t||"root",label:yy(t),tags:e.namespaced?[gy]:[],children:Object.keys(e._children).map(function(n){return vy(e._children[n],t+n+"/")})}}function by(e,t,n,r){r.includes(n)&&e.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:t.namespaced?[gy]:[]}),Object.keys(t._children).forEach(function(s){by(e,t._children[s],n,r+s+"/")})}function Fx(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=Ix(t);s.getters=Object.keys(o).map(function(i){return{key:i.endsWith("/")?yy(i):i,editable:!1,value:od(function(){return o[i]})}})}return s}function Ix(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]=od(function(){return e[n]})}else t[n]=od(function(){return e[n]})}),t}function Lx(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 od(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)||{}},wy={namespaced:{configurable:!0}};wy.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){ko(this._children,t)};ir.prototype.forEachGetter=function(t){this._rawModule.getters&&ko(this._rawModule.getters,t)};ir.prototype.forEachAction=function(t){this._rawModule.actions&&ko(this._rawModule.actions,t)};ir.prototype.forEachMutation=function(t){this._rawModule.mutations&&ko(this._rawModule.mutations,t)};Object.defineProperties(ir.prototype,wy);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){Cy([],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&&ko(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 Cy(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;Cy(e.concat(r),t.getChild(r),n.modules[r])}}function Mx(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;iu(this,m,[],this._modules.root),vm(this,m),r.forEach(function(f){return f(n)})},wm={state:{configurable:!0}};Sn.prototype.install=function(t,n){t.provide(n||bx,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&Tx(t,this)};wm.state.get=function(){return this._state.data};wm.state.set=function(e){};Sn.prototype.commit=function(t,n,r){var s=this,o=xl(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=xl(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 py(t,this._subscribers,n)};Sn.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return py(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),iu(this,this.state,t,this._modules.get(t),r.preserveState),vm(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=bm(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),hy(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),hy(this,!0)};Sn.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(Sn.prototype,wm);const zy="UPDATE_CONFIG",xy="UPDATE_SETTINGS",au="UPDATE_SETTINGS_OPTION",ky="UPDATE_LIBRARY_STATS",Sy="UPDATE_LIBRARY_AUDIOBOOKS_COUNT",Ey="UPDATE_LIBRARY_PODCASTS_COUNT",$y="UPDATE_LIBRARY_RSS_COUNT",Ay="UPDATE_OUTPUTS",Cm="UPDATE_PLAYER_STATUS",Oy="UPDATE_QUEUE",Ty="UPDATE_LASTFM",Py="UPDATE_SPOTIFY",Dy="UPDATE_PAIRING",zm="SPOTIFY_NEW_RELEASES",xm="SPOTIFY_FEATURED_PLAYLISTS",Dp="ADD_NOTIFICATION",id="DELETE_NOTIFICATION",ad="SEARCH_PATH",km="ADD_RECENT_SEARCH",lu="HIDE_SINGLES",Sm="HIDE_SPOTIFY",Fy="ARTISTS_SORT",Iy="ARTIST_ALBUMS_SORT",Ly="ALBUMS_SORT",My="SHOW_ONLY_NEXT_ITEMS",_o="SHOW_BURGER_MENU",go="SHOW_PLAYER_MENU",Hi="SHOW_UPDATE_DIALOG",Em="UPDATE_DIALOG_SCAN_KIND",it=Mx({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:[],hide_singles:!1,hide_spotify:!1,artists_sort:1,artist_albums_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:{[zy](e,t){e.config=t},[xy](e,t){e.settings=t},[au](e,t){const r=e.settings.categories.find(s=>s.name===t.category).options.find(s=>s.name===t.name);r.value=t.value},[ky](e,t){e.library=t},[Sy](e,t){e.audiobooks_count=t},[Ey](e,t){e.podcasts_count=t},[$y](e,t){e.rss_count=t},[Ay](e,t){e.outputs=t},[Cm](e,t){e.player=t},[Oy](e,t){e.queue=t},[Ty](e,t){e.lastfm=t},[Py](e,t){e.spotify=t},[Dy](e,t){e.pairing=t},[zm](e,t){e.spotify_new_releases=t},[xm](e,t){e.spotify_featured_playlists=t},[Dp](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)},[id](e,t){const n=e.notifications.list.indexOf(t);n!==-1&&e.notifications.list.splice(n,1)},[ad](e,t){e.search_path=t},[km](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()},[lu](e,t){e.hide_singles=t},[Sm](e,t){e.hide_spotify=t},[Fy](e,t){e.artists_sort=t},[Iy](e,t){e.artist_albums_sort=t},[Ly](e,t){e.albums_sort=t},[My](e,t){e.show_only_next_items=t},[_o](e,t){e.show_burger_menu=t},[go](e,t){e.show_player_menu=t},[Hi](e,t){e.show_update_dialog=t},[Em](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(Dp,r),n.timeout>0&&setTimeout(()=>{e(id,r)},n.timeout)}}});/*!
|
||
* vue-router v4.0.16
|
||
* (c) 2022 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const Ry=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",So=e=>Ry?Symbol(e):"_vr_"+e,Rx=So("rvlm"),Fp=So("rvd"),$m=So("r"),Ny=So("rl"),ld=So("rvl"),Js=typeof window<"u";function Nx(e){return e.__esModule||Ry&&e[Symbol.toStringTag]==="Module"}const bt=Object.assign;function Hu(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 mi=()=>{},jx=/\/$/,Vx=e=>e.replace(jx,"");function Uu(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=qx(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function Bx(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ip(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Hx(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&yo(t.matched[r],n.matched[s])&&jy(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function yo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function jy(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ux(e[n],t[n]))return!1;return!0}function Ux(e,t){return Array.isArray(e)?Lp(e,t):Array.isArray(t)?Lp(t,e):e===t}function Lp(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function qx(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 Ai;(function(e){e.pop="pop",e.push="push"})(Ai||(Ai={}));var fi;(function(e){e.back="back",e.forward="forward",e.unknown=""})(fi||(fi={}));function Wx(e){if(!e)if(Js){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Vx(e)}const Gx=/^[^#]+#/;function Kx(e,t){return e.replace(Gx,"#")+t}function Zx(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const uu=()=>({left:window.pageXOffset,top:window.pageYOffset});function Yx(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=Zx(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 Mp(e,t){return(history.state?history.state.position-t:-1)+e}const ud=new Map;function Jx(e,t){ud.set(e,t)}function Xx(e){const t=ud.get(e);return ud.delete(e),t}let Qx=()=>location.protocol+"//"+location.host;function Vy(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),Ip(l,"")}return Ip(n,e)+r+s}function e2(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const p=Vy(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:Ai.pop,direction:g?g>0?fi.forward:fi.back:fi.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:uu()}),"")}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 Rp(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?uu():null}}function t2(e){const{history:t,location:n}=window,r={value:Vy(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:Qx()+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,Rp(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:uu()});o(m.current,m,!0);const f=bt({},Rp(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 n2(e){e=Wx(e);const t=t2(e),n=e2(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:Kx.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 r2(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),n2(e)}function s2(e){return typeof e=="string"||e&&typeof e=="object"}function By(e){return typeof e=="string"||typeof e=="symbol"}const Lr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Hy=So("nf");var Np;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Np||(Np={}));function vo(e,t){return bt(new Error,{type:e,[Hy]:!0},t)}function Mr(e,t){return e instanceof Error&&Hy in e&&(t==null||!!(e.type&t))}const jp="[^/]+?",o2={sensitive:!1,strict:!1,start:!0,end:!0},i2=/[.+*?^${}()[\]/\\]/g;function a2(e,t){const n=bt({},o2,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(i2,"\\$&"),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||jp;if(w!==jp){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 l2(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 u2(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=l2(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Vp(r))return 1;if(Vp(s))return-1}return s.length-r.length}function Vp(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const c2={type:0,value:""},d2=/[a-zA-Z0-9_]/;function m2(e){if(!e)return[[]];if(e==="/")return[[c2]];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:d2.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 f2(e,t,n){const r=a2(m2(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 p2(e,t){const n=[],r=new Map;t=Hp({strict:!1,end:!0,sensitive:!1},t);function s(m){return r.get(m)}function o(m,f,d){const p=!d,h=_2(m);h.aliasOf=d&&d.record;const _=Hp(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,O=S[S.length-1]==="/"?"":"/";x.path=f.record.path+(z&&O+z)}if(b=f2(x,f,_),d?d.alias.push(b):(w=w||b,w!==b&&w.alias.push(b),p&&m.name&&!Bp(b)&&i(m.name)),"children"in h){const S=h.children;for(let O=0;O<S.length;O++)o(S[O],b,d&&d.children[O])}d=d||b,l(b)}return w?()=>{i(w)}:mi}function i(m){if(By(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&&u2(m,n[f])>=0&&(m.record.path!==n[f].record.path||!Uy(m,n[f]));)f++;n.splice(f,0,m),m.record.name&&!Bp(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 vo(1,{location:m});_=d.record.name,p=bt(h2(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 vo(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:y2(g)}}return e.forEach(m=>o(m)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function h2(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function _2(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:g2(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function g2(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 Bp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function y2(e){return e.reduce((t,n)=>bt(t,n.meta),{})}function Hp(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Uy(e,t){return t.children.some(n=>n===e||Uy(e,n))}const qy=/#/g,v2=/&/g,b2=/\//g,w2=/=/g,C2=/\?/g,Wy=/\+/g,z2=/%5B/g,x2=/%5D/g,Gy=/%5E/g,k2=/%60/g,Ky=/%7B/g,S2=/%7C/g,Zy=/%7D/g,E2=/%20/g;function Am(e){return encodeURI(""+e).replace(S2,"|").replace(z2,"[").replace(x2,"]")}function $2(e){return Am(e).replace(Ky,"{").replace(Zy,"}").replace(Gy,"^")}function cd(e){return Am(e).replace(Wy,"%2B").replace(E2,"+").replace(qy,"%23").replace(v2,"%26").replace(k2,"`").replace(Ky,"{").replace(Zy,"}").replace(Gy,"^")}function A2(e){return cd(e).replace(w2,"%3D")}function O2(e){return Am(e).replace(qy,"%23").replace(C2,"%3F")}function T2(e){return e==null?"":O2(e).replace(b2,"%2F")}function kl(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function P2(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(Wy," "),i=o.indexOf("="),a=kl(i<0?o:o.slice(0,i)),l=i<0?null:kl(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 Up(e){let t="";for(let n in e){const r=e[n];if(n=A2(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Array.isArray(r)?r.map(o=>o&&cd(o)):[r&&cd(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function D2(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 Mo(){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(vo(4,{from:n,to:t})):f instanceof Error?a(f):s2(f)?a(vo(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 qu(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(F2(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=Nx(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 F2(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function qp(e){const t=rr($m),n=rr(Ny),r=At(()=>t.resolve(io(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(yo.bind(null,m));if(d>-1)return d;const p=Wp(l[c-2]);return c>1&&Wp(m)===p&&f[f.length-1].path!==p?f.findIndex(yo.bind(null,l[c-2])):d}),o=At(()=>s.value>-1&&R2(n.params,r.value.params)),i=At(()=>s.value>-1&&s.value===n.matched.length-1&&jy(n.params,r.value.params));function a(l={}){return M2(l)?t[io(e.replace)?"replace":"push"](io(e.to)).catch(mi):Promise.resolve()}return{route:r,href:At(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const I2=Ri({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:qp,setup(e,{slots:t}){const n=Os(qp(e)),{options:r}=rr($m),s=At(()=>({[Gp(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Gp(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)}}}),L2=I2;function M2(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 R2(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 Wp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Gp=(e,t,n)=>e??t??n,N2=Ri({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=rr(ld),s=At(()=>e.route||r.value),o=rr(Fp,0),i=At(()=>s.value.matched[o]);li(Fp,o+1),li(Rx,i),li(ld,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||!yo(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 Kp(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 Kp(n.default,{Component:_,route:l})||_}}});function Kp(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const j2=N2;function V2(e){const t=p2(e.routes,e),n=e.parseQuery||P2,r=e.stringifyQuery||Up,s=e.history,o=Mo(),i=Mo(),a=Mo(),l=V_(Lr);let c=Lr;Js&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=Hu.bind(null,U=>""+U),f=Hu.bind(null,T2),d=Hu.bind(null,kl);function p(U,ie){let se,be;return By(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=Uu(n,U,ie.path),$=t.resolve({path:Ae.path},ie),R=s.createHref(Ae.fullPath);return bt(Ae,$,{params:d($.params),hash:kl(Ae.hash),redirectedFrom:void 0,href:R})}let se;if("path"in U)se=bt({},U,{path:Uu(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),je=U.hash||"";be.params=m(d(be.params));const Ie=Bx(r,bt({},U,{hash:$2(je),path:be.path})),Ee=s.createHref(Ie);return bt({fullPath:Ie,hash:je,query:r===Up?D2(U.query):U.query||{}},be,{redirectedFrom:void 0,href:Ee})}function w(U){return typeof U=="string"?Uu(n,U,l.value.path):bt({},U)}function x(U,ie){if(c!==U)return vo(8,{from:ie,to:U})}function z(U){return j(U)}function S(U){return z(bt(w(U),{replace:!0}))}function O(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,je=U.state,Ie=U.force,Ee=U.replace===!0,Ae=O(se);if(Ae)return j(bt(w(Ae),{state:je,force:Ie,replace:Ee}),ie||se);const $=se;$.redirectedFrom=ie;let R;return!Ie&&Hx(r,be,se)&&(R=vo(16,{to:$,from:be}),Be(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:je,force:Ie,replace:Ee}),ie||$)}else Y=W($,be,!0,Ee,je);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,je,Ie]=B2(U,ie);se=qu(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),js(se).then(()=>{se=[];for(const Ae of o.list())se.push(Br(Ae,U,ie));return se.push(Ee),js(se)}).then(()=>{se=qu(je,"beforeRouteUpdate",U,ie);for(const Ae of je)Ae.updateGuards.forEach($=>{se.push(Br($,U,ie))});return se.push(Ee),js(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),js(se)}).then(()=>(U.matched.forEach(Ae=>Ae.enterCallbacks={}),se=qu(Ie,"beforeRouteEnter",U,ie),se.push(Ee),js(se))).then(()=>{se=[];for(const Ae of i.list())se.push(Br(Ae,U,ie));return se.push(Ee),js(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,je){const Ie=x(U,ie);if(Ie)return Ie;const Ee=ie===Lr,Ae=Js?history.state:{};se&&(be||Ee?s.replace(U.fullPath,bt({scroll:Ee&&Ae&&Ae.scroll},je)):s.push(U.fullPath,je)),l.value=U,Be(U,ie,se,Ee),Me()}let I;function H(){I||(I=s.listen((U,ie,se)=>{const be=b(U),je=O(be);if(je){j(bt(je,{replace:!0}),be).catch(mi);return}c=be;const Ie=l.value;Js&&Jx(Mp(Ie.fullPath,se.delta),uu()),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===Ai.pop&&s.go(-1,!1)}).catch(mi),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===Ai.pop&&Mr(Ee,20)&&s.go(-1,!1)),M(be,Ie,Ee)}).catch(mi)}))}let B=Mo(),oe=Mo(),J;function ue(U,ie,se){Me(U);const be=oe.list();return be.length?be.forEach(je=>je(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 Be(U,ie,se,be){const{scrollBehavior:je}=e;if(!Js||!je)return Promise.resolve();const Ie=!se&&Xx(Mp(U.fullPath,0))||(be||!se)&&history.state&&history.state.scroll||null;return Wl().then(()=>je(U,ie,Ie)).then(Ee=>Ee&&Yx(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",L2),U.component("RouterView",j2),U.config.globalProperties.$router=ie,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>io(l)}),Js&&!X&&l.value===Lr&&(X=!0,z(s.location).catch(je=>{}));const se={};for(const je in Lr)se[je]=At(()=>l.value[je]);U.provide($m,ie),U.provide(Ny,Os(se)),U.provide(ld,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 js(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function B2(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=>yo(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>yo(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},H2={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}}},U2={class:"section fd-content"},q2={class:"container"},W2={class:"columns is-centered"},G2={class:"column is-four-fifths"},K2={key:0},Z2={ref:"options_ref",style:{height:"1px"}},Y2={class:"buttons is-centered",style:{"margin-bottom":"6px","margin-top":"16px"}},J2={class:"icon is-small"},X2={class:"icon is-small"},Q2={id:"top",class:"level"},ek={class:"level-left"},tk={class:"level-item has-text-centered-mobile"},nk={class:"level-right has-text-centered-mobile"},rk={style:{"margin-top":"16px"}};function sk(e,t,n,r,s,o){const i=P("mdicon");return E(),D("section",U2,[u("div",q2,[u("div",W2,[u("div",G2,[e.$slots.options?(E(),D("section",K2,[u("div",Z2,null,512),zt(e.$slots,"options"),u("nav",Y2,[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",X2,[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",J2,[C(i,{name:"chevron-down",size:"16"})])]))])])):Q("",!0),u("div",{class:Ze({"fd-content-with-option":e.$slots.options})},[u("nav",Q2,[u("div",ek,[u("div",tk,[u("div",null,[zt(e.$slots,"heading-left")])])]),u("div",nk,[zt(e.$slots,"heading-right")])]),zt(e.$slots,"content"),u("div",rk,[zt(e.$slots,"footer")])],2)])])])])}const ft=ve(H2,[["render",sk]]);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 Yy(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 dd={},ok={get exports(){return dd},set exports(e){dd=e}},Sl={},ik={get exports(){return Sl},set exports(e){Sl=e}},Jy=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)}},ak=Jy,Tm=Object.prototype.toString,Pm=function(e){return function(t){var n=Tm.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 Pm(n)===e}}function Dm(e){return Array.isArray(e)}function El(e){return typeof e>"u"}function lk(e){return e!==null&&!El(e)&&e.constructor!==null&&!El(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var Xy=Fs("ArrayBuffer");function uk(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Xy(e.buffer),t}function ck(e){return typeof e=="string"}function dk(e){return typeof e=="number"}function Qy(e){return e!==null&&typeof e=="object"}function rl(e){if(Pm(e)!=="object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}var mk=Fs("Date"),fk=Fs("File"),pk=Fs("Blob"),hk=Fs("FileList");function Fm(e){return Tm.call(e)==="[object Function]"}function _k(e){return Qy(e)&&Fm(e.pipe)}function gk(e){var t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Tm.call(e)===t||Fm(e.toString)&&e.toString()===t)}var yk=Fs("URLSearchParams");function vk(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function bk(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Im(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Dm(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 md(){var e={};function t(s,o){rl(e[o])&&rl(s)?e[o]=md(e[o],s):rl(s)?e[o]=md({},s):Dm(s)?e[o]=s.slice():e[o]=s}for(var n=0,r=arguments.length;n<r;n++)Im(arguments[n],t);return e}function wk(e,t,n){return Im(t,function(s,o){n&&typeof s=="function"?e[o]=ak(s,n):e[o]=s}),e}function Ck(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}function zk(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)}function xk(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 kk(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 Sk(e){if(!e)return null;var t=e.length;if(El(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}var Ek=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),en={isArray:Dm,isArrayBuffer:Xy,isBuffer:lk,isFormData:gk,isArrayBufferView:uk,isString:ck,isNumber:dk,isObject:Qy,isPlainObject:rl,isUndefined:El,isDate:mk,isFile:fk,isBlob:pk,isFunction:Fm,isStream:_k,isURLSearchParams:yk,isStandardBrowserEnv:bk,forEach:Im,merge:md,extend:wk,trim:vk,stripBOM:Ck,inherits:zk,toFlatObject:xk,kindOf:Pm,kindOfTest:Fs,endsWith:kk,toArray:Sk,isTypedArray:Ek,isFileList:hk},Vs=en;function Zp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var ev=function(t,n,r){if(!n)return t;var s;if(r)s=r(n);else if(Vs.isURLSearchParams(n))s=n.toString();else{var o=[];Vs.forEach(n,function(l,c){l===null||typeof l>"u"||(Vs.isArray(l)?c=c+"[]":l=[l],Vs.forEach(l,function(f){Vs.isDate(f)?f=f.toISOString():Vs.isObject(f)&&(f=JSON.stringify(f)),o.push(Zp(c)+"="+Zp(f))}))}),s=o.join("&")}if(s){var i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t},$k=en;function cu(){this.handlers=[]}cu.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};cu.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};cu.prototype.forEach=function(t){$k.forEach(this.handlers,function(r){r!==null&&t(r)})};var Ak=cu,Ok=en,Tk=function(t,n){Ok.forEach(t,function(s,o){o!==n&&o.toUpperCase()===n.toUpperCase()&&(t[n]=s,delete t[o])})},tv=en;function bo(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)}tv.inherits(bo,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 nv=bo.prototype,rv={};["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){rv[e]={value:e}});Object.defineProperties(bo,rv);Object.defineProperty(nv,"isAxiosError",{value:!0});bo.from=function(e,t,n,r,s,o){var i=Object.create(nv);return tv.toFlatObject(e,i,function(l){return l!==Error.prototype}),bo.call(i,e.message,t,n,r,s),i.name=e.name,o&&Object.assign(i,o),i};var Eo=bo,sv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Kn=en;function Pk(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 ov=Pk,Wu,Yp;function Dk(){if(Yp)return Wu;Yp=1;var e=Eo;return Wu=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))},Wu}var Gu,Jp;function Fk(){if(Jp)return Gu;Jp=1;var e=en;return Gu=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(){}}}(),Gu}var Ik=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},Lk=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},Mk=Ik,Rk=Lk,iv=function(t,n){return t&&!Mk(n)?Rk(t,n):n},Ku,Xp;function Nk(){if(Xp)return Ku;Xp=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 Ku=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},Ku}var Zu,Qp;function jk(){if(Qp)return Zu;Qp=1;var e=en;return Zu=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}}(),Zu}var Yu,eh;function du(){if(eh)return Yu;eh=1;var e=Eo,t=en;function n(r){e.call(this,r??"canceled",e.ERR_CANCELED),this.name="CanceledError"}return t.inherits(n,e,{__CANCEL__:!0}),Yu=n,Yu}var Ju,th;function Vk(){return th||(th=1,Ju=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}),Ju}var Xu,nh;function rh(){if(nh)return Xu;nh=1;var e=en,t=Dk(),n=Fk(),r=ev,s=iv,o=Nk(),i=jk(),a=sv,l=Eo,c=du(),m=Vk();return Xu=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 O=d.auth.username||"",j=d.auth.password?unescape(encodeURIComponent(d.auth.password)):"";b.Authorization="Basic "+btoa(O+":"+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)})},Xu}var Qu,sh;function Bk(){return sh||(sh=1,Qu=null),Qu}var Yt=en,oh=Tk,ih=Eo,Hk=sv,Uk=ov,qk={"Content-Type":"application/x-www-form-urlencoded"};function ah(e,t){!Yt.isUndefined(e)&&Yt.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function Wk(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=rh()),e}function Gk(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 mu={transitional:Hk,adapter:Wk(),transformRequest:[function(t,n){if(oh(n,"Accept"),oh(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 ah(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 Uk(o?{"files[]":t}:t,i&&new i)}else if(r||s==="application/json")return ah(n,"application/json"),Gk(t);return t}],transformResponse:[function(t){var n=this.transitional||mu.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"?ih.from(i,ih.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:Bk()},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Yt.forEach(["delete","get","head"],function(t){mu.headers[t]={}});Yt.forEach(["post","put","patch"],function(t){mu.headers[t]=Yt.merge(qk)});var Lm=mu,Kk=en,Zk=Lm,Yk=function(t,n,r){var s=this||Zk;return Kk.forEach(r,function(i){t=i.call(s,t,n)}),t},ec,lh;function av(){return lh||(lh=1,ec=function(t){return!!(t&&t.__CANCEL__)}),ec}var uh=en,tc=Yk,Jk=av(),Xk=Lm,Qk=du();function nc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Qk}var eS=function(t){nc(t),t.headers=t.headers||{},t.data=tc.call(t,t.data,t.headers,t.transformRequest),t.headers=uh.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),uh.forEach(["delete","get","head","post","put","patch","common"],function(s){delete t.headers[s]});var n=t.adapter||Xk.adapter;return n(t).then(function(s){return nc(t),s.data=tc.call(t,s.data,s.headers,t.transformResponse),s},function(s){return Jk(s)||(nc(t),s&&s.response&&(s.response.data=tc.call(t,s.response.data,s.response.headers,t.transformResponse))),Promise.reject(s)})},En=en,lv=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},rc,ch;function uv(){return ch||(ch=1,rc={version:"0.27.2"}),rc}var tS=uv().version,Hr=Eo,Mm={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Mm[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var dh={};Mm.transitional=function(t,n,r){function s(o,i){return"[Axios v"+tS+"] 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&&!dh[i]&&(dh[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 nS(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 rS={assertOptions:nS,validators:Mm},cv=en,sS=ev,mh=Ak,fh=eS,fu=lv,oS=iv,dv=rS,Bs=dv.validators;function wo(e){this.defaults=e,this.interceptors={request:new mh,response:new mh}}wo.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=fu(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&&dv.assertOptions(r,{silentJSONParsing:Bs.transitional(Bs.boolean),forcedJSONParsing:Bs.transitional(Bs.boolean),clarifyTimeoutError:Bs.transitional(Bs.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=[fh,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=fh(c)}catch(d){return Promise.reject(d)}for(;i.length;)a=a.then(i.shift(),i.shift());return a};wo.prototype.getUri=function(t){t=fu(this.defaults,t);var n=oS(t.baseURL,t.url);return sS(n,t.params,t.paramsSerializer)};cv.forEach(["delete","get","head","options"],function(t){wo.prototype[t]=function(n,r){return this.request(fu(r||{},{method:t,url:n,data:(r||{}).data}))}});cv.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,a){return this.request(fu(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}wo.prototype[t]=n(),wo.prototype[t+"Form"]=n(!0)});var iS=wo,sc,ph;function aS(){if(ph)return sc;ph=1;var e=du();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}},sc=t,sc}var oc,hh;function lS(){return hh||(hh=1,oc=function(t){return function(r){return t.apply(null,r)}}),oc}var ic,_h;function uS(){if(_h)return ic;_h=1;var e=en;return ic=function(n){return e.isObject(n)&&n.isAxiosError===!0},ic}var gh=en,cS=Jy,sl=iS,dS=lv,mS=Lm;function mv(e){var t=new sl(e),n=cS(sl.prototype.request,t);return gh.extend(n,sl.prototype,t),gh.extend(n,t),n.create=function(s){return mv(dS(e,s))},n}var kn=mv(mS);kn.Axios=sl;kn.CanceledError=du();kn.CancelToken=aS();kn.isCancel=av();kn.VERSION=uv().version;kn.toFormData=ov;kn.AxiosError=Eo;kn.Cancel=kn.CanceledError;kn.all=function(t){return Promise.all(t)};kn.spread=lS();kn.isAxiosError=uS();ik.exports=kn;Sl.default=kn;(function(e){e.exports=Sl})(ok);const Oe=Om(dd),{t:Xs}=Bi.global;Oe.interceptors.response.use(function(e){return e},function(e){return console.log(Bi),e.request.status&&e.request.responseURL&&it.dispatch("add_notification",{text:Xs("server.request-failed",{status:e.request.status,cause:e.request.statusText,url:e.request.responseURL}),type:"danger"}),Promise.reject(e)});const Z={config(){return Oe.get("./api/config")},settings(){return Oe.get("./api/settings")},settings_update(e,t){return Oe.put("./api/settings/"+e+"/"+t.name,t)},library_stats(){return Oe.get("./api/library")},library_update(e){const t={};return e&&(t.scan_kind=e),Oe.put("./api/update",void 0,{params:t})},library_rescan(e){const t={};return e&&(t.scan_kind=e),Oe.put("./api/rescan",void 0,{params:t})},library_count(e){return Oe.get("./api/library/count?expression="+e)},queue(){return Oe.get("./api/queue")},queue_clear(){return Oe.put("./api/queue/clear")},queue_remove(e){return Oe.delete("./api/queue/items/"+e)},queue_move(e,t){return Oe.put("./api/queue/items/"+e+"?new_position="+t)},queue_add(e){return Oe.post("./api/queue/items/add?uris="+e).then(t=>(it.dispatch("add_notification",{text:Xs("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),Oe.post("./api/queue/items/add?uris="+e+"&position="+t).then(n=>(it.dispatch("add_notification",{text:Xs("server.appended-tracks",{count:n.data.count}),type:"info",timeout:2e3}),Promise.resolve(n)))},queue_expression_add(e){const t={};return t.expression=e,Oe.post("./api/queue/items/add",void 0,{params:t}).then(n=>(it.dispatch("add_notification",{text:Xs("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),Oe.post("./api/queue/items/add",void 0,{params:t}).then(n=>(it.dispatch("add_notification",{text:Xs("server.appended-tracks",{count:n.data.count}),type:"info",timeout:2e3}),Promise.resolve(n)))},queue_save_playlist(e){return Oe.post("./api/queue/save",void 0,{params:{name:e}}).then(t=>(it.dispatch("add_notification",{text:Xs("server.queue-saved",{name:e}),type:"info",timeout:2e3}),Promise.resolve(t)))},player_status(){return Oe.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,Oe.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,Oe.post("./api/queue/items/add",void 0,{params:r})},player_play(e={}){return Oe.put("./api/player/play",void 0,{params:e})},player_playpos(e){return Oe.put("./api/player/play?position="+e)},player_playid(e){return Oe.put("./api/player/play?item_id="+e)},player_pause(){return Oe.put("./api/player/pause")},player_stop(){return Oe.put("./api/player/stop")},player_next(){return Oe.put("./api/player/next")},player_previous(){return Oe.put("./api/player/previous")},player_shuffle(e){const t=e?"true":"false";return Oe.put("./api/player/shuffle?state="+t)},player_consume(e){const t=e?"true":"false";return Oe.put("./api/player/consume?state="+t)},player_repeat(e){return Oe.put("./api/player/repeat?state="+e)},player_volume(e){return Oe.put("./api/player/volume?volume="+e)},player_output_volume(e,t){return Oe.put("./api/player/volume?volume="+t+"&output_id="+e)},player_seek_to_pos(e){return Oe.put("./api/player/seek?position_ms="+e)},player_seek(e){return Oe.put("./api/player/seek?seek_ms="+e)},outputs(){return Oe.get("./api/outputs")},output_update(e,t){return Oe.put("./api/outputs/"+e,t)},output_toggle(e){return Oe.put("./api/outputs/"+e+"/toggle")},library_artists(e=void 0){return Oe.get("./api/library/artists",{params:{media_kind:e}})},library_artist(e){return Oe.get("./api/library/artists/"+e)},library_artist_albums(e){return Oe.get("./api/library/artists/"+e+"/albums")},library_albums(e=void 0){return Oe.get("./api/library/albums",{params:{media_kind:e}})},library_album(e){return Oe.get("./api/library/albums/"+e)},library_album_tracks(e,t={limit:-1,offset:0}){return Oe.get("./api/library/albums/"+e+"/tracks",{params:t})},library_album_track_update(e,t){return Oe.put("./api/library/albums/"+e+"/tracks",void 0,{params:t})},library_genres(e=void 0){return Oe.get("./api/library/genres",{params:{media_kind:e}})},library_genre(e){return Oe.get(`./api/library/genres/${encodeURIComponent(e)}`)},library_genre_albums(e){const t={type:"albums",expression:`genre is "${e}" and media_kind is music`};return Oe.get("./api/search",{params:t})},library_genre_tracks(e){const t={type:"tracks",expression:`genre is "${e}" and media_kind is music`};return Oe.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 Oe.get("./api/search",{params:e})},library_composers(e=void 0){return Oe.get("./api/library/composers",{params:{media_kind:e}})},library_composer(e){return Oe.get(`./api/library/composers/${encodeURIComponent(e)}`)},library_composer_albums(e){const t={type:"albums",expression:`composer is "${e}" and media_kind is music`};return Oe.get("./api/search",{params:t})},library_composer_tracks(e){const t={type:"tracks",expression:`composer is "${e}" and media_kind is music`};return Oe.get("./api/search",{params:t})},library_artist_tracks(e){if(e){const t={type:"tracks",expression:'songartistid is "'+e+'"'};return Oe.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 Oe.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 Oe.get("./api/search",{params:t})},library_add(e){return Oe.post("./api/library/add",void 0,{params:{url:e}})},library_playlist_delete(e){return Oe.delete("./api/library/playlists/"+e,void 0)},library_playlists(){return Oe.get("./api/library/playlists")},library_playlist_folder(e=0){return Oe.get("./api/library/playlists/"+e+"/playlists")},library_playlist(e){return Oe.get("./api/library/playlists/"+e)},library_playlist_tracks(e){return Oe.get("./api/library/playlists/"+e+"/tracks")},library_track(e){return Oe.get("./api/library/tracks/"+e)},library_track_playlists(e){return Oe.get("./api/library/tracks/"+e+"/playlists")},library_track_update(e,t={}){return Oe.put("./api/library/tracks/"+e,void 0,{params:t})},library_files(e=void 0){const t={directory:e};return Oe.get("./api/library/files",{params:t})},search(e){return Oe.get("./api/search",{params:e})},spotify(){return Oe.get("./api/spotify")},spotify_login(e){return Oe.post("./api/spotify-login",e)},spotify_logout(){return Oe.get("./api/spotify-logout")},lastfm(){return Oe.get("./api/lastfm")},lastfm_login(e){return Oe.post("./api/lastfm-login",e)},lastfm_logout(e){return Oe.get("./api/lastfm-logout")},pairing(){return Oe.get("./api/pairing")},pairing_kickoff(e){return Oe.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}},fS={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})}}},pS={key:0,class:"media"},hS={key:0,class:"media-left"},_S={class:"icon has-text-grey fd-is-movable handle"},gS=["textContent"],yS=["textContent"],vS=["textContent"],bS={class:"media-right"};function wS(e,t,n,r,s,o){const i=P("mdicon");return o.is_next||!n.show_only_next_items?(E(),D("div",pS,[n.edit_mode?(E(),D("div",hS,[u("span",_S,[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:Ze(["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,gS),u("h2",{class:Ze(["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,yS)],2),u("h2",{class:Ze(["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,vS)]),u("div",bS,[zt(e.$slots,"actions")])])):Q("",!0)}const CS=ve(fS,[["render",wS]]);var fd={},zS={get exports(){return fd},set exports(e){fd=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(O){g&&g(O),p&&p(null,O)}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 O=null;try{O=h.responseText?JSON.parse(h.responseText):""}catch(j){console.error(j)}h.status>=200&&h.status<300?w(O):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})(zS);const ar=fd,xS={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})}}},kS={key:0,class:"modal is-active"},SS={class:"modal-content fd-modal-card"},ES={class:"card"},$S={class:"card-content"},AS=["textContent"],OS=["textContent"],TS={class:"content is-small"},PS=["textContent"],DS=["textContent"],FS=["textContent"],IS={key:0},LS=["textContent"],MS=["textContent"],RS=["textContent"],NS={key:1},jS=["textContent"],VS=["textContent"],BS={key:2},HS=["textContent"],US=["textContent"],qS={key:3},WS=["textContent"],GS=["textContent"],KS=["textContent"],ZS=["textContent"],YS=["textContent"],JS=["textContent"],XS=["textContent"],QS=["textContent"],eE=["textContent"],tE={class:"title is-6"},nE=["textContent"],rE={key:0,class:"has-text-weight-normal"},sE=yt(" ("),oE=["textContent"],iE=yt(", "),aE=["textContent"],lE=yt(") "),uE=["textContent"],cE={class:"title is-6"},dE=["textContent"],mE=["textContent"],fE=["textContent"],pE=["textContent"],hE={class:"card-footer"},_E={class:"icon"},gE=["textContent"],yE={class:"icon"},vE=["textContent"];function bE(e,t,n,r,s,o){const i=P("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:T(()=>[n.show?(E(),D("div",kS,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",SS,[u("div",ES,[u("div",$S,[u("p",{class:"title is-4",textContent:v(n.item.title)},null,8,AS),u("p",{class:"subtitle",textContent:v(n.item.artist)},null,8,OS),u("div",TS,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.album"))},null,8,PS),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,DS)):(E(),D("span",{key:1,class:"title is-6",textContent:v(n.item.album)},null,8,FS))]),n.item.album_artist?(E(),D("p",IS,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.album-artist"))},null,8,LS),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,MS)):(E(),D("span",{key:1,class:"title is-6",textContent:v(n.item.album_artist)},null,8,RS))])):Q("",!0),n.item.composer?(E(),D("p",NS,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.composer"))},null,8,jS),u("span",{class:"title is-6",textContent:v(n.item.composer)},null,8,VS)])):Q("",!0),n.item.year>0?(E(),D("p",BS,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.year"))},null,8,HS),u("span",{class:"title is-6",textContent:v(n.item.year)},null,8,US)])):Q("",!0),n.item.genre?(E(),D("p",qS,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.genre"))},null,8,WS),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,GS)])):Q("",!0),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.position"))},null,8,KS),u("span",{class:"title is-6",textContent:v([n.item.disc_number,n.item.track_number].join(" / "))},null,8,ZS)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.duration"))},null,8,YS),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.item.length_ms))},null,8,JS)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.path"))},null,8,XS),u("span",{class:"title is-6",textContent:v(n.item.path)},null,8,QS)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.type"))},null,8,eE),u("span",tE,[u("span",{textContent:v([e.$t("media.kind."+n.item.media_kind),e.$t("data.kind."+n.item.data_kind)].join(" - "))},null,8,nE),n.item.data_kind==="spotify"?(E(),D("span",rE,[sE,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,oE),iE,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,aE),lE])):Q("",!0)])]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.quality"))},null,8,uE),u("span",cE,[u("span",{textContent:v(n.item.type)},null,8,dE),n.item.samplerate?(E(),D("span",{key:0,textContent:v(e.$t("dialog.queue-item.samplerate",{rate:n.item.samplerate}))},null,8,mE)):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,fE)):Q("",!0),n.item.bitrate?(E(),D("span",{key:2,textContent:v(e.$t("dialog.queue-item.bitrate",{rate:n.item.bitrate}))},null,8,pE)):Q("",!0)])])])]),u("footer",hE,[u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>o.remove&&o.remove(...a))},[u("span",_E,[C(i,{name:"delete",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.queue-item.remove"))},null,8,gE)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...a)=>o.play&&o.play(...a))},[u("span",yE,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.queue-item.play"))},null,8,vE)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const fv=ve(xS,[["render",bE]]),wE={name:"ModalDialogAddUrlStream",props:["show"],emits:["close"],data(){return{url:"",loading:!1}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.url_field.focus()},10))}},methods:{add_stream: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})}}},CE={key:0,class:"modal is-active"},zE={class:"modal-content fd-modal-card"},xE={class:"card"},kE={class:"card-content"},SE=["textContent"],EE={class:"field"},$E={class:"control is-expanded has-icons-left"},AE=["placeholder","disabled"],OE={class:"icon is-left"},TE={key:0,class:"card-footer"},PE={class:"card-footer-item has-text-dark"},DE={class:"icon"},FE=["textContent"],IE={key:1,class:"card-footer"},LE={class:"icon"},ME=["textContent"],RE={class:"icon"},NE=["textContent"],jE={class:"icon"},VE=["textContent"];function BE(e,t,n,r,s,o){const i=P("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:T(()=>[n.show?(E(),D("div",CE,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",zE,[u("div",xE,[u("div",kE,[u("p",{class:"title is-4",textContent:v(e.$t("dialog.add.stream.title"))},null,8,SE),u("form",{class:"fd-has-margin-bottom",onSubmit:t[2]||(t[2]=ht((...a)=>o.play&&o.play(...a),["prevent"]))},[u("div",EE,[u("p",$E,[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,AE),[[xn,s.url]]),u("span",OE,[C(i,{name:"web",size:"16"})])])])],32)]),s.loading?(E(),D("footer",TE,[u("a",PE,[u("span",DE,[C(i,{name:"web",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.stream.loading"))},null,8,FE)])])):(E(),D("footer",IE,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[u("span",LE,[C(i,{name:"cancel",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.stream.cancel"))},null,8,ME)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.add_stream&&o.add_stream(...a))},[u("span",RE,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.stream.add"))},null,8,NE)]),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",jE,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.stream.play"))},null,8,VE)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const HE=ve(wE,[["render",BE]]),UE={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}))}}},qE={key:0,class:"modal is-active"},WE={class:"modal-content fd-modal-card"},GE={class:"card"},KE={class:"card-content"},ZE=["textContent"],YE={class:"field"},JE={class:"control is-expanded has-icons-left"},XE=["disabled"],QE={class:"icon is-left"},e$={key:0,class:"card-footer"},t$={class:"card-footer-item has-text-dark"},n$={class:"icon"},r$=["textContent"],s$={key:1,class:"card-footer"},o$={class:"icon"},i$=["textContent"],a$={class:"icon"},l$=["textContent"];function u$(e,t,n,r,s,o){const i=P("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:T(()=>[n.show?(E(),D("div",qE,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",WE,[u("div",GE,[u("div",KE,[u("p",{class:"title is-4",textContent:v(e.$t("dialog.playlist.save.title"))},null,8,ZE),u("form",{class:"fd-has-margin-bottom",onSubmit:t[2]||(t[2]=ht((...a)=>o.save&&o.save(...a),["prevent"]))},[u("div",YE,[u("p",JE,[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,XE),[[xn,s.playlist_name]]),u("span",QE,[C(i,{name:"file-music",size:"16"})])])])],32)]),s.loading?(E(),D("footer",e$,[u("a",t$,[u("span",n$,[C(i,{name:"web",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.save.saving"))},null,8,r$)])])):(E(),D("footer",s$,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[u("span",o$,[C(i,{name:"cancel",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.save.cancel"))},null,8,i$)]),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",a$,[C(i,{name:"content-save",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.save.save"))},null,8,l$)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const c$=ve(UE,[["render",u$]]);var pd={},d$={get exports(){return pd},set exports(e){pd=e}};const Rm=Yy(az);/**!
|
||
* Sortable 1.14.0
|
||
* @author RubaXa <trash@rubaxa.org>
|
||
* @author owenm <owen23355@gmail.com>
|
||
* @license MIT
|
||
*/function yh(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?yh(Object(n),!0).forEach(function(r){m$(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yh(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ol(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ol=function(t){return typeof t}:ol=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ol(e)}function m$(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 f$(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 p$(e,t){if(e==null)return{};var n=f$(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 h$(e){return _$(e)||g$(e)||y$(e)||v$()}function _$(e){if(Array.isArray(e))return hd(e)}function g$(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function y$(e,t){if(e){if(typeof e=="string")return hd(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 hd(e,t)}}function hd(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 v$(){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 b$="1.14.0";function xr(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Or=xr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ui=xr(/Edge/i),vh=xr(/firefox/i),pi=xr(/safari/i)&&!xr(/chrome/i)&&!xr(/android/i),pv=xr(/iP(ad|od|hone)/i),w$=xr(/chrome/i)&&xr(/android/i),hv={capture:!1,passive:!1};function at(e,t,n){e.addEventListener(t,n,!Or&&hv)}function st(e,t,n){e.removeEventListener(t,n,!Or&&hv)}function $l(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 C$(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&&$l(e,t):$l(e,t))||r&&e===n)return e;if(e===n)break}while(e=C$(e))}return null}var bh=/\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(bh," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(bh," ")}}function Ve(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=Ve(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 _v(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&&(Ve(s,"transform")!=="none"||n&&Ve(s,"position")!=="static")){var d=s.getBoundingClientRect();i-=d.top+parseInt(Ve(s,"border-top-width")),a-=d.left+parseInt(Ve(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 wh(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 Co(e,t,n,r){for(var s=0,o=0,i=e.children;o<i.length;){if(i[o].style.display!=="none"&&i[o]!==Je.ghost&&(r||i[o]!==Je.dragged)&&Qn(i[o],n.draggable,e,!1)){if(s===t)return i[o];s++}o++}return null}function Nm(e,t){for(var n=e.lastElementChild;n&&(n===Je.ghost||Ve(n,"display")==="none"||t&&!$l(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!==Je.clone&&(!t||$l(e,t))&&n++;return n}function Ch(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 z$(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=Ve(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 x$(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function ac(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 hi;function gv(e,t){return function(){if(!hi){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),hi=setTimeout(function(){hi=void 0},t)}}}function k$(){clearTimeout(hi),hi=void 0}function yv(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function jm(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 zh(e,t){Ve(e,"position","absolute"),Ve(e,"top",t.top),Ve(e,"left",t.left),Ve(e,"width",t.width),Ve(e,"height",t.height)}function lc(e){Ve(e,"position",""),Ve(e,"top",""),Ve(e,"left",""),Ve(e,"width",""),Ve(e,"height","")}var nn="Sortable"+new Date().getTime();function S$(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(s){if(!(Ve(s,"display")==="none"||s===Je.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(z$(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&&ac(d,f)&&!ac(m,f)&&(h.top-f.top)/(h.left-f.left)===(m.top-f.top)/(m.left-f.left)&&(l=$$(h,d,p,s.options)),ac(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){Ve(r,"transition",""),Ve(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,Ve(r,"transform","translate3d("+m+"px,"+f+"px,0)"),this.forRepaintDummy=E$(r),Ve(r,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),Ve(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){Ve(r,"transition",""),Ve(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},i)}}}}function E$(e){return e.offsetWidth}function $$(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 Hs=[],uc={initializeByDefault:!0},qi={mount:function(t){for(var n in uc)uc.hasOwnProperty(n)&&!(n in t)&&(t[n]=uc[n]);Hs.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),Hs.push(t)},pluginEvent:function(t,n,r){var s=this;this.eventCanceled=!1,r.cancel=function(){s.eventCanceled=!0};var o=t+"Global";Hs.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){Hs.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 Hs.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 Hs.forEach(function(o){t[o.pluginName]&&o.optionListeners&&typeof o.optionListeners[n]=="function"&&(s=o.optionListeners[n].call(t[o.pluginName],r))}),s}};function Yo(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&&!Ui?_=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),qi.getEventProperties(r,t));for(var x in w)_[x]=w[x];n&&n.dispatchEvent(_),g[b]&&g[b].call(t,_)}}var A$=["evt"],gn=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=r.evt,o=p$(r,A$);qi.pluginEvent.bind(Je)(t,n,_r({dragEl:ke,parentEl:Pt,ghostEl:nt,rootEl:kt,nextEl:hs,lastDownEl:il,cloneEl:Dt,cloneHidden:Wr,dragStarted:Jo,putSortable:Jt,activeSortable:Je.active,originalEvent:s,oldIndex:no,oldDraggableIndex:_i,newIndex:An,newDraggableIndex:Ur,hideGhostForTarget:Cv,unhideGhostForTarget:zv,cloneNowHidden:function(){Wr=!0},cloneNowShown:function(){Wr=!1},dispatchSortableEvent:function(a){cn({sortable:n,name:a,originalEvent:s})}},o))};function cn(e){Yo(_r({putSortable:Jt,cloneEl:Dt,targetEl:ke,rootEl:kt,oldIndex:no,oldDraggableIndex:_i,newIndex:An,newDraggableIndex:Ur},e))}var ke,Pt,nt,kt,hs,il,Dt,Wr,no,An,_i,Ur,fa,Jt,Qs=!1,Al=!1,Ol=[],cs,Zn,cc,dc,xh,kh,Jo,Us,gi,yi=!1,pa=!1,al,tn,mc=[],_d=!1,Tl=[],pu=typeof document<"u",ha=pv,Sh=Ui||Or?"cssFloat":"float",O$=pu&&!w$&&!pv&&"draggable"in document.createElement("div"),vv=function(){if(pu){if(Or)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),bv=function(t,n){var r=Ve(t),s=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),o=Co(t,0,n),i=Co(t,1,n),a=o&&Ve(o),l=i&&Ve(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[Sh]==="none"||i&&r[Sh]==="none"&&c+m>s)?"vertical":"horizontal"},T$=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},P$=function(t,n){var r;return Ol.some(function(s){var o=s[nn].options.emptyInsertThreshold;if(!(!o||Nm(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},wv=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||ol(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},Cv=function(){!vv&&nt&&Ve(nt,"display","none")},zv=function(){!vv&&nt&&Ve(nt,"display","")};pu&&document.addEventListener("click",function(e){if(Al)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Al=!1,!1},!0);var ds=function(t){if(ke){t=t.touches?t.touches[0]:t;var n=P$(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)}}},D$=function(t){ke&&ke.parentNode[nn]._isOutsideThisEl(t.target)};function Je(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 bv(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:Je.supportPointer!==!1&&"PointerEvent"in window&&!pi,emptyInsertThreshold:5};qi.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);wv(t);for(var s in this)s.charAt(0)==="_"&&typeof this[s]=="function"&&(this[s]=this[s].bind(this));this.nativeDraggable=t.forceFallback?!1:O$,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)),Ol.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),qn(this,S$())}Je.prototype={constructor:Je,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(Us=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(V$(r),!ke&&!(/mousedown|pointerdown/.test(i)&&t.button!==0||s.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&pi&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Qn(l,s.draggable,r,!1),!(l&&l.animated)&&il!==l)){if(no=Lt(l),_i=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,il=r,fa=i.group,Je.dragged=ke,cs={target:ke,clientX:(n||t).clientX,clientY:(n||t).clientY},xh=cs.clientX-c.left,kh=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}),Je.eventCanceled){s._onDrop();return}s._disableDelayedDragEvents(),!vh&&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){_v(ke,m.trim(),fc)}),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),vh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ke.draggable=!0),gn("delayStart",this,{evt:t}),i.delay&&(!i.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Ui||Or))){if(Je.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&&fc(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?ll(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(Qs=!1,kt&&ke){gn("dragStarted",this,{evt:n}),this.nativeDraggable&&at(document,"dragover",D$);var r=this.options;!t&&Et(ke,r.dragClass,!1),Et(ke,r.ghostClass,!0),Je.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,Cv();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);zv()}},_onTouchMove:function(t){if(cs){var n=this.options,r=n.fallbackTolerance,s=n.fallbackOffset,o=t.touches?t.touches[0]:t,i=nt&&zs(nt,!0),a=nt&&i&&i.a,l=nt&&i&&i.d,c=ha&&tn&&Ch(tn),m=(o.clientX-cs.clientX+s.x)/(a||1)+(c?c[0]-mc[0]:0)/(a||1),f=(o.clientY-cs.clientY+s.y)/(l||1)+(c?c[1]-mc[1]:0)/(l||1);if(!Je.active&&!Qs){if(r&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<r)return;this._onDragStart(t,!0)}if(nt){i?(i.e+=m-(cc||0),i.f+=f-(dc||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,")");Ve(nt,"webkitTransform",d),Ve(nt,"mozTransform",d),Ve(nt,"msTransform",d),Ve(nt,"transform",d),cc=m,dc=f,Zn=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!nt){var t=this.options.fallbackOnBody?document.body:kt,n=St(ke,!0,ha,!0,t),r=this.options;if(ha){for(tn=t;Ve(tn,"position")==="static"&&Ve(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(),mc=Ch(tn)}nt=ke.cloneNode(!0),Et(nt,r.ghostClass,!1),Et(nt,r.fallbackClass,!0),Et(nt,r.dragClass,!0),Ve(nt,"transition",""),Ve(nt,"transform",""),Ve(nt,"box-sizing","border-box"),Ve(nt,"margin",0),Ve(nt,"top",n.top),Ve(nt,"left",n.left),Ve(nt,"width",n.width),Ve(nt,"height",n.height),Ve(nt,"opacity","0.8"),Ve(nt,"position",ha?"absolute":"fixed"),Ve(nt,"zIndex","100000"),Ve(nt,"pointerEvents","none"),Je.ghost=nt,t.appendChild(nt),Ve(nt,"transform-origin",xh/parseInt(nt.style.width)*100+"% "+kh/parseInt(nt.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,s=t.dataTransfer,o=r.options;if(gn("dragStart",this,{evt:t}),Je.eventCanceled){this._onDrop();return}gn("setupClone",this),Je.eventCanceled||(Dt=jm(ke),Dt.draggable=!1,Dt.style["will-change"]="",this._hideClone(),Et(Dt,this.options.chosenClass,!1),Je.clone=Dt),r.cloneId=ll(function(){gn("clone",r),!Je.eventCanceled&&(r.options.removeCloneOnHide||kt.insertBefore(Dt,ke),r._hideClone(),cn({sortable:r,name:"clone"}))}),!n&&Et(ke,o.dragClass,!0),n?(Al=!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),Ve(ke,"transform","translateZ(0)")),Qs=!0,r._dragStartId=ll(r._dragStarted.bind(r,n,t)),at(document,"selectstart",r),Jo=!0,pi&&Ve(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=Je.active,m=fa===l,f=a.sort,d=Jt||c,p,h=this,_=!1;if(_d)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 _a(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!==Je.active?Jt=h:h===Je.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)&&(Us=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"),Je.eventCanceled)return _;if(ke.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||h._ignoreWhileAnimating===r)return w(!1);if(Al=!1,c&&!a.disabled&&(m?f||(i=Pt!==kt):Jt===this||(this.lastPutMode=fa.checkPull(this,c,ke,t))&&l.checkPut(this,c,ke,t))){if(p=this._getDirection(t,r)==="vertical",s=St(ke),g("dragOverValid"),Je.eventCanceled)return _;if(i)return Pt=kt,b(),this._hideClone(),g("revert"),Je.eventCanceled||(hs?kt.insertBefore(ke,hs):kt.appendChild(ke)),w(!0);var z=Nm(n,a.draggable);if(!z||M$(t,p,this)&&!z.animated){if(z===ke)return w(!1);if(z&&n===t.target&&(r=z),r&&(o=St(r)),_a(kt,n,ke,s,r,o,t,!!r)!==!1)return b(),n.appendChild(ke),Pt=n,x(),w(!0)}else if(z&&L$(t,p,this)){var S=Co(n,0,a,!0);if(S===ke)return w(!1);if(r=S,o=St(r),_a(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 O=0,j,F=ke.parentNode!==n,A=!T$(ke.animated&&ke.toRect||s,r.animated&&r.toRect||o,p),M=p?"top":"left",W=wh(r,"top","top")||wh(ke,"top","top"),I=W?W.scrollTop:void 0;Us!==r&&(j=o[M],yi=!1,pa=!A&&a.invertSwap||F),O=R$(t,r,o,p,A?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,pa,Us===r);var H;if(O!==0){var B=Lt(ke);do B-=O,H=Pt.children[B];while(H&&(Ve(H,"display")==="none"||H===nt))}if(O===0||H===r)return w(!1);Us=r,gi=O;var oe=r.nextElementSibling,J=!1;J=O===1;var ue=_a(kt,n,ke,s,r,o,t,J);if(ue!==!1)return(ue===1||ue===-1)&&(J=ue===1),_d=!0,setTimeout(I$,30),b(),J&&!oe?n.appendChild(ke):r.parentNode.insertBefore(ke,J?oe:r),W&&yv(W,0,I-W.scrollTop),Pt=ke.parentNode,j!==void 0&&!pa&&(al=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),Je.eventCanceled){this._nulling();return}Qs=!1,pa=!1,yi=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),gd(this.cloneId),gd(this._dragStartId),this.nativeDraggable&&(st(document,"drop",this),st(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),pi&&Ve(document.body,"user-select",""),Ve(ke,"transform",""),t&&(Jo&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),nt&&nt.parentNode&&nt.parentNode.removeChild(nt),(kt===Pt||Jt&&Jt.lastPutMode!=="clone")&&Dt&&Dt.parentNode&&Dt.parentNode.removeChild(Dt),ke&&(this.nativeDraggable&&st(ke,"dragend",this),fc(ke),ke.style["will-change"]="",Jo&&!Qs&&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!==no&&An>=0&&(cn({sortable:this,name:"update",toEl:Pt,originalEvent:t}),cn({sortable:this,name:"sort",toEl:Pt,originalEvent:t})),Je.active&&((An==null||An===-1)&&(An=no,Ur=_i),cn({sortable:this,name:"end",toEl:Pt,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){gn("nulling",this),kt=ke=Pt=nt=hs=Dt=il=Wr=cs=Zn=Jo=An=Ur=no=_i=Us=gi=Jt=fa=Je.dragged=Je.ghost=Je.clone=Je.active=null,Tl.forEach(function(t){t.checked=!0}),Tl.length=cc=dc=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":ke&&(this._onDragOver(t),F$(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)||j$(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=qi.modifyOption(this,t,n);typeof s<"u"?r[t]=s:r[t]=n,t==="group"&&wv(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(),Ol.splice(Ol.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Wr){if(gn("hideClone",this),Je.eventCanceled)return;Ve(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),Je.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),Ve(Dt,"display",""),Wr=!1}}};function F$(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function _a(e,t,n,r,s,o,i,a){var l,c=e[nn],m=c.options.onMove,f;return window.CustomEvent&&!Or&&!Ui?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 fc(e){e.draggable=!1}function I$(){_d=!1}function L$(e,t,n){var r=St(Co(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 M$(e,t,n){var r=St(Nm(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 R$(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&&al<c*s){if(!yi&&(gi===1?l>m+c*o/2:l<f-c*o/2)&&(yi=!0),yi)d=!0;else if(gi===1?l<m+al:l>f-al)return-gi}else if(l>m+c*(1-s)/2&&l<f-c*(1-s)/2)return N$(t)}return d=d||i,d&&(l<m+c*o/2||l>f-c*o/2)?l>m+c/2?1:-1:0}function N$(e){return Lt(ke)<Lt(e)?1:-1}function j$(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 V$(e){Tl.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&Tl.push(r)}}function ll(e){return setTimeout(e,0)}function gd(e){return clearTimeout(e)}pu&&at(document,"touchmove",function(e){(Je.active||Qs)&&e.cancelable&&e.preventDefault()});Je.utils={on:at,off:st,css:Ve,find:_v,is:function(t,n){return!!Qn(t,n,t,!1)},extend:x$,throttle:gv,closest:Qn,toggleClass:Et,clone:jm,index:Lt,nextTick:ll,cancelNextTick:gd,detectDirection:bv,getChild:Co};Je.get=function(e){return e[nn]};Je.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&&(Je.utils=_r(_r({},Je.utils),r.utils)),qi.mount(r)})};Je.create=function(e,t){return new Je(e,t)};Je.version=b$;var Bt=[],Xo,yd,vd=!1,pc,hc,Pl,Qo;function B$(){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)),Eh(),ul(),k$()},nulling:function(){Pl=yd=Xo=vd=Qo=pc=hc=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(Pl=n,r||this.options.forceAutoScrollFallback||Ui||Or||pi){_c(n,this.options,a,r);var l=Kr(a,!0);vd&&(!Qo||o!==pc||i!==hc)&&(Qo&&Eh(),Qo=setInterval(function(){var c=Kr(document.elementFromPoint(o,i),!0);c!==l&&(l=c,ul()),_c(n,s.options,c,r)},10),pc=o,hc=i)}else{if(!this.options.bubbleScroll||Kr(a,!0)===pr()){ul();return}_c(n,this.options,Kr(a,!1),!1)}}},qn(e,{pluginName:"scroll",initializeByDefault:!0})}function ul(){Bt.forEach(function(e){clearInterval(e.pid)}),Bt=[]}function Eh(){clearInterval(Qo)}var _c=gv(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;yd!==n&&(yd=n,ul(),Xo=t.scroll,m=t.scrollFn,Xo===!0&&(Xo=Kr(n,!0)));var f=0,d=Xo;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,O=void 0,j=p.scrollWidth,F=p.scrollHeight,A=Ve(p),M=p.scrollLeft,W=p.scrollTop;p===l?(S=x<j&&(A.overflowX==="auto"||A.overflowX==="scroll"||A.overflowX==="visible"),O=z<F&&(A.overflowY==="auto"||A.overflowY==="scroll"||A.overflowY==="visible")):(S=x<j&&(A.overflowX==="auto"||A.overflowX==="scroll"),O=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=O&&(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&&Je.active._onTouchMove(Pl);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(Je.dragged.parentNode[nn],J,oe,e,Pl,Bt[this.layer].el)!=="continue"||yv(Bt[this.layer].el,J,oe)}.bind({layer:f}),24))),f++}while(t.bubbleScroll&&d!==l&&(d=Kr(d,!1)));vd=c}},30),xv=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 Vm(){}Vm.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=Co(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:xv};qn(Vm,{pluginName:"revertOnSpill"});function Bm(){}Bm.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:xv};qn(Bm,{pluginName:"removeOnSpill"});var jn;function H$(){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(),U$(o,jn),i.animateAll(),i!==r&&r.animateAll())},nulling:function(){jn=null}},qn(e,{pluginName:"swap",eventProperties:function(){return{swapItem:jn}}})}function U$(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 tt=[],$n=[],Ro,Yn,No=!1,yn=!1,qs=!1,Ct,jo,ga;function q$(){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="";tt.length&&Yn===t?tt.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=~tt.indexOf(Ct)},setupClone:function(n){var r=n.sortable,s=n.cancel;if(this.isMultiDrag){for(var o=0;o<tt.length;o++)$n.push(jm(tt[o])),$n[o].sortableIndex=tt[o].sortableIndex,$n[o].draggable=!1,$n[o].style["will-change"]="",Et($n[o],this.options.selectedClass,!1),tt[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||tt.length&&Yn===r&&($h(!0,s),o("clone"),i()))},showClone:function(n){var r=n.cloneNowShown,s=n.rootEl,o=n.cancel;this.isMultiDrag&&($h(!1,s),$n.forEach(function(i){Ve(i,"display","")}),r(),ga=!1,o())},hideClone:function(n){var r=this;n.sortable;var s=n.cloneNowHidden,o=n.cancel;this.isMultiDrag&&($n.forEach(function(i){Ve(i,"display","none"),r.options.removeCloneOnHide&&i.parentNode&&i.parentNode.removeChild(i)}),s(),ga=!0,o())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Yn&&Yn.multiDrag._deselectMultiDrag(),tt.forEach(function(r){r.sortableIndex=Lt(r)}),tt=tt.sort(function(r,s){return r.sortableIndex-s.sortableIndex}),qs=!0},dragStarted:function(n){var r=this,s=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(s.captureAnimationState(),this.options.animation)){tt.forEach(function(i){i!==Ct&&Ve(i,"position","absolute")});var o=St(Ct,!1,!0,!0);tt.forEach(function(i){i!==Ct&&zh(i,o)}),yn=!0,No=!0}s.animateAll(function(){yn=!1,No=!1,r.options.animation&&tt.forEach(function(i){lc(i)}),r.options.sort&&ya()})}},dragOver:function(n){var r=n.target,s=n.completed,o=n.cancel;yn&&~tt.indexOf(r)&&(s(!1),o())},revert:function(n){var r=n.fromSortable,s=n.rootEl,o=n.sortable,i=n.dragRect;tt.length>1&&(tt.forEach(function(a){o.addAnimationState({target:a,rect:yn?St(a):i}),lc(a),a.fromRect=i,r.removeAnimationState(a)}),yn=!1,W$(!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(),No=!1,c.animation&&tt.length>1&&(yn||!s&&!i.options.sort&&!l)){var m=St(Ct,!1,!0,!0);tt.forEach(function(d){d!==Ct&&(zh(d,m),a.appendChild(d))}),yn=!0}if(!s)if(yn||ya(),tt.length>1){var f=ga;i._showClone(r),i.options.animation&&!ga&&f&&$n.forEach(function(d){i.addAnimationState({target:d,rect:jo}),d.fromRect=jo,d.thisAnimationDuration=null})}else i._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,s=n.isOwner,o=n.activeSortable;if(tt.forEach(function(a){a.thisAnimationDuration=null}),o.options.animation&&!s&&o.multiDrag.isMultiDrag){jo=qn({},r);var i=zs(Ct,!0);jo.top-=i.f,jo.left-=i.e}},dragOverAnimationComplete:function(){yn&&(yn=!1,ya())},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(!qs)if(f.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Et(Ct,f.selectedClass,!~tt.indexOf(Ct)),~tt.indexOf(Ct))tt.splice(tt.indexOf(Ct),1),Ro=null,Yo({sortable:i,rootEl:s,name:"deselect",targetEl:Ct,originalEvt:r});else{if(tt.push(Ct),Yo({sortable:i,rootEl:s,name:"select",targetEl:Ct,originalEvt:r}),r.shiftKey&&Ro&&i.el.contains(Ro)){var p=Lt(Ro),h=Lt(Ct);if(~p&&~h&&p!==h){var _,g;for(h>p?(g=p,_=h):(g=h,_=p+1);g<_;g++)~tt.indexOf(d[g])||(Et(d[g],f.selectedClass,!0),tt.push(d[g]),Yo({sortable:i,rootEl:s,name:"select",targetEl:d[g],originalEvt:r}))}}else Ro=Ct;Yn=m}if(qs&&this.isMultiDrag){if(yn=!1,(o[nn].options.sort||o!==s)&&tt.length>1){var b=St(Ct),w=Lt(Ct,":not(."+this.options.selectedClass+")");if(!No&&f.animation&&(Ct.thisAnimationDuration=null),m.captureAnimationState(),!No&&(f.animation&&(Ct.fromRect=b,tt.forEach(function(z){if(z.thisAnimationDuration=null,z!==Ct){var S=yn?St(z):b;z.fromRect=S,m.addAnimationState({target:z,rect:S})}})),ya(),tt.forEach(function(z){d[w]?o.insertBefore(z,d[w]):o.appendChild(z),w++}),l===Lt(Ct))){var x=!1;tt.forEach(function(z){if(z.sortableIndex!==Lt(z)){x=!0;return}}),x&&a("update")}tt.forEach(function(z){lc(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=qs=!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 qs<"u"&&qs)&&Yn===this.sortable&&!(n&&Qn(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;tt.length;){var r=tt[0];Et(r,this.options.selectedClass,!1),tt.shift(),Yo({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||~tt.indexOf(n)||(Yn&&Yn!==r&&(Yn.multiDrag._deselectMultiDrag(),Yn=r),Et(n,r.options.selectedClass,!0),tt.push(n))},deselect:function(n){var r=n.parentNode[nn],s=tt.indexOf(n);!r||!r.options.multiDrag||!~s||(Et(n,r.options.selectedClass,!1),tt.splice(s,1))}},eventProperties:function(){var n=this,r=[],s=[];return tt.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:h$(tt),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 W$(e,t){tt.forEach(function(n,r){var s=t.children[n.sortableIndex+(e?Number(r):0)];s?t.insertBefore(n,s):t.appendChild(n)})}function $h(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 ya(){tt.forEach(function(e){e!==Ct&&e.parentNode&&e.parentNode.removeChild(e)})}Je.mount(new B$);Je.mount(Bm,Vm);const G$=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:q$,Sortable:Je,Swap:H$,default:Je},Symbol.toStringTag,{value:"Module"})),K$=Yy(G$);(function(e,t){(function(r,s){e.exports=s(Rm,K$)})(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,O,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),O=F&&F.value):O=z[S],x=p(b?S:g+(w?".":"#")+S,h.forced),!x&&O!==void 0){if(typeof j==typeof O)continue;d(j,O)}(h.sham||O&&O.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)),O=String(x);return h?h.call(z,O,S):z.slice(S,S+O.length)===O}})},"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),O=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;O++)I=z?c(M,x,[A.value,O],!0):A.value,d(F,O,I);else for(j=f(g.length),F=new b(j);j>O;O++)I=z?x(g[O],O):g[O],d(F,O,I);return F.length=O,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,O,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):O.call(String(J),B,oe)},function(H,B){if(!A&&M||typeof B=="string"&&B.indexOf(W)===-1){var oe=j(O,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 Be=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),Be))}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),je=[],Ie=1;Ie<X.length;Ie++)je.push(z(X[Ie]));var Ee=X.groups;if(ge){var Ae=[se].concat(je,be,ue);Ee!==void 0&&Ae.push(Ee);var $=String(B.apply(void 0,Ae))}else $=I(se,ue,be,je,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,Be=J.length,he=x;return ue!==void 0&&(ue=c(ue),he=w),O.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>Be){var ie=b(U/10);return ie===0?X:ie<=Be?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,O=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 O.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,O=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?!O&&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},O=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):O();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",O="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 O: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,Be=Me[z]||Me["@@iterator"]||H&&Me[H],he=!x&&Be||J(H),X=M=="Array"&&Me.entries||Be,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==O&&Be&&Be.name!==O&&(ge=!0,he=function(){return Be.call(this)}),(!_||oe)&&Me[z]!==he&&d(Me,z,he),g[M]=he,H)if(we={values:J(O),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 O=0;O<S.length;O++)if(S[O].readyState==="interactive"||S[O].src===_||_===b&&S[O].innerHTML&&S[O].innerHTML.trim()===z)return S[O];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,O,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(O=1;O<arguments.length-2;O++)arguments[O]===void 0&&(S[O]=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}),O=_("concat"),j=function(A){if(!m(A))return!1;var M=A[w];return M!==void 0?!!M:c(A)},F=!S||!O;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,O;z<h;){if(z in p){if(O=S?S(p[z],z,d):p[z],g>0&&a(O))x=m(f,d,O,l(O.length),x,g-1)-1;else{if(x>=9007199254740991)throw TypeError("Exceed the acceptable array length");f[x]=O}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"),O=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"),Be=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",je="prototype",Ie=he("toPrimitive"),Ee=U.set,Ae=U.getterFor(be),$=Object[je],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,Re=!De||!De[je]||!De[je].findChild,qe=f&&h(function(){return j(ce({},"a",{get:function(){return ce(this,"a",{value:7}).a}})).a!=7})?function(de,te,ae){var Ne=le($,te);Ne&&delete $[te],ce(de,te,ae),Ne&&de!==$&&ce($,te,Ne)}:ce,et=function(de,te){var ae=pe[de]=j(R[je]);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,Ne){te===$&&y(V,ae,Ne),w(te);var He=S(ae,!0);return w(Ne),_(pe,He)?(Ne.enumerable?(_(te,se)&&te[se][He]&&(te[se][He]=!1),Ne=j(Ne,{enumerable:O(0,!1)})):(_(te,se)||ce(te,se,O(1,{})),te[se][He]=!0),qe(te,He,Ne)):ce(te,He,Ne)},L=function(te,ae){w(te);var Ne=z(ae),He=F(Ne).concat(Le(Ne));return ie(He,function(ut){(!f||ee.call(Ne,ut))&&y(te,ut,Ne[ut])}),te},K=function(te,ae){return ae===void 0?j(te):L(j(te),ae)},ee=function(te){var ae=S(te,!0),Ne=Ce.call(this,ae);return this===$&&_(pe,ae)&&!_(V,ae)?!1:Ne||!_(this,ae)||!_(pe,ae)||_(this,se)&&this[se][ae]?Ne:!0},fe=function(te,ae){var Ne=z(te),He=S(ae,!0);if(!(Ne===$&&_(pe,He)&&!_(V,He))){var ut=le(Ne,He);return ut&&_(pe,He)&&!(_(Ne,se)&&Ne[se][He])&&(ut.enumerable=!0),ut}},Se=function(te){var ae=ye(z(te)),Ne=[];return ie(ae,function(He){!_(pe,He)&&!_(Me,He)&&Ne.push(He)}),Ne},Le=function(te){var ae=te===$,Ne=ye(ae?V:z(te)),He=[];return ie(Ne,function(ut){_(pe,ut)&&(!ae||_($,ut))&&He.push(pe[ut])}),He};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=Be(te),Ne=function(He){this===$&&Ne.call(V,He),_(this,se)&&_(this[se],ae)&&(this[se][ae]=!1),qe(this,ae,O(1,He))};return f&&Re&&qe($,ae,{configurable:!0,set:Ne}),et(ae,te)},J(R[je],"toString",function(){return Ae(this).tag}),J(R,"withoutSetter",function(de){return et(Be(de),de)}),B.f=ee,H.f=y,I.f=fe,A.f=M.f=Se,W.f=Le,X.f=function(de){return et(he(de),de)},f&&(ce(R[je],"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(){Re=!0},useSimple:function(){Re=!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,Ne){for(var He=[te],ut=1,hn;arguments.length>ut;)He.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}),He[1]=ae,Y.apply(null,He)}})}R[je][Ie]||oe(R[je],Ie,R[je].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,O,j,F){for(var A=c(S),M=l(A),W=a(O,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 O=c(w),j=!l(function(){var H={};return H[O]=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[O]=/./[O]),B.exec=function(){return H=!0,null},B[O](""),!H});if(!j||!F||w==="replace"&&!(p&&h&&!g)||w==="split"&&!b){var A=/./[O],M=z(O,""[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,O,x==2?function(H,B){return I.call(H,this,B)}:function(H){return I.call(H,this)})}S&&f(RegExp.prototype[O],"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 O=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),j=this instanceof g?new h(O):O===void 0?h():h(O);return O===""&&(_[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 O=f(this)?this.valueOf():this,j=w.call(O);if(m(_,O))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 O(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 Be(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],!Be(K)})}i("c740");function je(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;je(this,k),this.defaultNodes=ee,this.children=[].concat(O(K),O(ee),O(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=O(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,Ne){return de({element:ae,index:Ne}).map(function(He){return He.key=K(ae),He.props=d(d({},He.props||{}),{},{"data-draggable":!0}),He})});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}},Re=["update:modelValue","change"].concat(O([].concat(O(Me.manageAndEmit),O(Me.emit)).map(function(k){return k.toLowerCase()}))),qe=Object(le.defineComponent)({name:"draggable",inheritAttrs:!1,props:De,emits:Re,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=O(this.modelValue);y(L),this.$emit("update:modelValue",L)},spliceList:function(){var y=arguments,L=function(ee){return ee.splice.apply(ee,O(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=O(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}}}),et=qe;o.default=et},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})})(d$);const Z$=Om(pd),Y$={name:"PageQueue",components:{ContentWithHeading:ft,ListItemQueueItem:CS,draggable:Z$,ModalDialogQueueItem:fv,ModalDialogAddUrlStream:HE,ModalDialogPlaylistSave:c$},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(My,!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)}}},J$=["textContent"],X$=["textContent"],Q$={class:"buttons is-centered"},e8={class:"icon"},t8=["textContent"],n8={class:"icon"},r8=["textContent"],s8={class:"icon"},o8=["textContent"],i8={class:"icon"},a8=["textContent"],l8=["disabled"],u8={class:"icon"},c8=["textContent"],d8=["onClick"],m8={class:"icon has-text-dark"},f8=["onClick"],p8={class:"icon has-text-grey"};function h8(e,t,n,r,s,o){const i=P("mdicon"),a=P("list-item-queue-item"),l=P("draggable"),c=P("modal-dialog-queue-item"),m=P("modal-dialog-add-url-stream"),f=P("modal-dialog-playlist-save"),d=P("content-with-heading");return E(),xe(d,null,{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.queue.title"))},null,8,J$),u("p",{class:"heading",textContent:v(e.$t("page.queue.count",{count:o.queue.count}))},null,8,X$)]),"heading-right":T(()=>[u("div",Q$,[u("a",{class:Ze(["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",e8,[C(i,{name:"arrow-collapse-down",size:"16"})]),u("span",{textContent:v(e.$t("page.queue.hide-previous"))},null,8,t8)],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",n8,[C(i,{name:"web",size:"16"})]),u("span",{textContent:v(e.$t("page.queue.add-stream"))},null,8,r8)]),u("a",{class:Ze(["button is-small",{"is-info":s.edit_mode}]),onClick:t[2]||(t[2]=p=>s.edit_mode=!s.edit_mode)},[u("span",s8,[C(i,{name:"pencil",size:"16"})]),u("span",{textContent:v(e.$t("page.queue.edit"))},null,8,o8)],2),u("a",{class:"button is-small",onClick:t[3]||(t[3]=(...p)=>o.queue_clear&&o.queue_clear(...p))},[u("span",i8,[C(i,{name:"delete-empty",size:"16"})]),u("span",{textContent:v(e.$t("page.queue.clear"))},null,8,a8)]),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",u8,[C(i,{name:"content-save",size:"16"})]),u("span",{textContent:v(e.$t("page.queue.save"))},null,8,c8)],8,l8)):Q("",!0)])]),content:T(()=>[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:T(({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:T(()=>[s.edit_mode?Q("",!0):(E(),D("a",{key:0,onClick:ht(_=>o.open_dialog(p),["prevent","stop"])},[u("span",m8,[C(i,{name:"dots-vertical",size:"16"})])],8,d8)),p.id!==o.state.item_id&&s.edit_mode?(E(),D("a",{key:1,onClick:ht(_=>o.remove(p),["prevent","stop"])},[u("span",p8,[C(i,{name:"delete",size:"18"})])],8,f8)):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 _8=ve(Y$,[["render",h8]]);function gc(e){return[null,void 0,!1].indexOf(e)!==-1}function Ah(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function Oh(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ah(Object(n),!0).forEach(function(r){g8(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ah(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function g8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y8(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function kv(e){var t={exports:{}};return e(t,t.exports),t.exports}function bd(e){return bd=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},bd(e)}var Th=kv(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,O,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&&O&&(oe+=O),oe+=I,oe+=B,w&&(oe+=w),j&&(oe=j(oe,H)),oe)}function m(h,_,g,b,w,x,z,S,O,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,"")),O&&s(A,O)&&(A=A.replace(O,""),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);bd(h)==="object"&&(h=f(h),this.to=function(_){return d(h,c,_)},this.from=function(_){return d(h,m,_)})}return p}()});function Ph(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 v8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b8(e,t,n){var r=si(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}:Th(function(c){for(var m=1;m<arguments.length;m++){var f=arguments[m]!=null?arguments[m]:{};m%2?Ph(Object(f),!0).forEach(function(d){v8(c,d,f[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(f)):Ph(Object(f)).forEach(function(d){Object.defineProperty(c,d,Object.getOwnPropertyDescriptor(f,d))})}return c}({},s.value)):Th({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 O=[[]],j=[[]],F=[[]],A=0;_[0]&&(O[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)&&(O[++A]=[],F[A]=[],j[A]=[]),_[M]&&(O[A].push(M),F[A].push(l.value.to(parseFloat(b[M]))),j[A].push(S[M]));O.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(Be){J+=1e3-Be});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(Be){_[oe].classList.contains(Be)&&_[oe].classList.remove(Be)})}else _[oe].style.display="none",a.value.tooltipHidden.split(" ").forEach(function(Be){_[oe].classList.add(Be)})}})})}}}function vi(e){return vi=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},vi(e)}var w8=y8(kv(function(e,t){(function(n){function r(k){return s(k)&&typeof k.from=="function"}function s(k){return vi(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 O(){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"},Be={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(vi(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 je(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(vi(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:je},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 Re(k,y,L){var K,ee,fe,Se,Le,re=z(),de=O()&&S(),te=k,ae=y.spectrum,Ne=[],He=[],ut=[],hn=0,Wn={},Gn=k.ownerDocument,Ji=y.documentElement||Gn.documentElement,Xi=Gn.body,xb=Gn.dir==="rtl"||y.ort===1?0:100;function vr(N,G){var ne=Gn.createElement("div");return G&&g(ne,G),N.appendChild(ne),ne}function kb(N,G){var ne=vr(N,y.cssClasses.origin),_e=vr(ne,y.cssClasses.handle);if(vr(_e,y.cssClasses.touchArea),_e.setAttribute("data-handle",String(G)),y.keyboardSupport&&(_e.setAttribute("tabindex","0"),_e.addEventListener("keydown",function(Pe){return Nb(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 df(N,G){return!!G&&vr(N,y.cssClasses.connect)}function Sb(N,G){var ne=vr(G,y.cssClasses.connects);ee=[],(fe=[]).push(df(ne,N[0]));for(var _e=0;_e<y.handles;_e++)ee.push(kb(G,_e)),ut[_e]=_e,fe.push(df(ne,N[_e+1]))}function Eb(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),vr(N,y.cssClasses.base)}function $b(N,G){return!(!y.tooltips||!y.tooltips[G])&&vr(N.firstChild,y.cssClasses.tooltip)}function mf(){return te.hasAttribute("disabled")}function xu(N){return ee[N].hasAttribute("disabled")}function ku(){Le&&(Do("update"+Be.tooltips),Le.forEach(function(N){N&&o(N)}),Le=null)}function ff(){ku(),Le=ee.map($b),Ou("update"+Be.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 Ab(){Do("update"+Be.aria),Ou("update"+Be.aria,function(N,G,ne,_e,Fe){ut.forEach(function(Pe){var Ye=ee[Pe],Ke=Qi(He,Pe,0,!0,!0,!0),Nt=Qi(He,Pe,100,!0,!0,!0),Tt=Fe[Pe],pt=String(y.ariaFormat.to(ne[Pe]));Ke=ae.fromStepping(Ke).toFixed(1),Nt=ae.fromStepping(Nt).toFixed(1),Tt=ae.fromStepping(Tt).toFixed(1),Ye.children[0].setAttribute("aria-valuemin",Ke),Ye.children[0].setAttribute("aria-valuemax",Nt),Ye.children[0].setAttribute("aria-valuenow",Tt),Ye.children[0].setAttribute("aria-valuetext",pt)})})}function Ob(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),pf(_e,N.stepped)}return N.mode===n.PipsMode.Positions?pf(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 pf(N,G){return N.map(function(ne){return ae.fromStepping(G?ae.getStep(ne):ne)})}function Tb(N){function G(Tt,pt){return Number((Tt+pt).toFixed(7))}var ne=Ob(N),_e={},Fe=ae.xVal[0],Pe=ae.xVal[ae.xVal.length-1],Ye=!1,Ke=!1,Nt=0;return(ne=l(ne.slice().sort(function(Tt,pt){return Tt-pt})))[0]!==Fe&&(ne.unshift(Fe),Ye=!0),ne[ne.length-1]!==Pe&&(ne.push(Pe),Ke=!0),ne.forEach(function(Tt,pt){var Wt,vt,_n,ln,Vt,zf,Du,xf,kf,Sf,Fu=Tt,Ms=ne[pt+1],Ef=N.mode===n.PipsMode.Steps;for(Ef&&(Wt=ae.xNumSteps[pt]),Wt||(Wt=Ms-Fu),Ms===void 0&&(Ms=Fu),Wt=Math.max(Wt,1e-7),vt=Fu;vt<=Ms;vt=G(vt,Wt)){for(xf=(Vt=(ln=ae.toStepping(vt))-Nt)/(N.density||1),Sf=Vt/(kf=Math.round(xf)),_n=1;_n<=kf;_n+=1)_e[(zf=Nt+_n*Sf).toFixed(5)]=[ae.fromStepping(zf),0];Du=ne.indexOf(vt)>-1?n.PipsType.LargeValue:Ef?n.PipsType.SmallValue:n.PipsType.NoValue,!pt&&Ye&&vt!==Ms&&(Du=0),vt===Ms&&Ke||(_e[ln.toFixed(5)]=[vt,Du]),Nt=ln}}),_e}function Pb(N,G,ne){var _e,Fe,Pe=Gn.createElement("div"),Ye=((_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),Ke=((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],Tt=[y.cssClasses.markerHorizontal,y.cssClasses.markerVertical];function pt(vt,_n){var ln=_n===y.cssClasses.value,Vt=ln?Ye:Ke;return _n+" "+(ln?Nt:Tt)[y.ort]+" "+Vt[vt]}function Wt(vt,_n,ln){if((ln=G?G(_n,ln):ln)!==n.PipsType.None){var Vt=vr(Pe,!1);Vt.className=pt(ln,y.cssClasses.marker),Vt.style[y.style]=vt+"%",ln>n.PipsType.NoValue&&((Vt=vr(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 Su(){Se&&(o(Se),Se=null)}function Eu(N){Su();var G=Tb(N),ne=N.filter,_e=N.format||{to:function(Fe){return String(Math.round(Fe))}};return Se=te.appendChild(Pb(G,ne,_e))}function hf(){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(Ye){var Ke=Db(Ye,_e.pageOffset,_e.target||G);return!!Ke&&!(mf()&&!_e.doNotReject)&&!(w(te,y.cssClasses.tap)&&!_e.doNotReject)&&!(N===re.start&&Ke.buttons!==void 0&&Ke.buttons>1)&&(!_e.hover||!Ke.buttons)&&(de||Ke.preventDefault(),Ke.calcPoint=Ke.points[y.ort],void ne(Ke,_e))},Pe=[];return N.split(" ").forEach(function(Ye){G.addEventListener(Ye,Fe,!!de&&{passive:!0}),Pe.push([Ye,Fe])}),Pe}function Db(N,G,ne){var _e=N.type.indexOf("touch")===0,Fe=N.type.indexOf("mouse")===0,Pe=N.type.indexOf("pointer")===0,Ye=0,Ke=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 Tt=Array.prototype.filter.call(N.touches,Nt);if(Tt.length>1)return!1;Ye=Tt[0].pageX,Ke=Tt[0].pageY}else{var pt=Array.prototype.find.call(N.changedTouches,Nt);if(!pt)return!1;Ye=pt.pageX,Ke=pt.pageY}}return G=G||x(Gn),(Fe||Pe)&&(Ye=N.clientX+G.x,Ke=N.clientY+G.y),N.pageOffset=G,N.points=[Ye,Ke],N.cursor=Fe||Pe,N}function _f(N){var G=100*(N-m(K,y.ort))/hf();return G=p(G),y.dir?100-G:G}function Fb(N){var G=100,ne=!1;return ee.forEach(function(_e,Fe){if(!xu(Fe)){var Pe=He[Fe],Ye=Math.abs(Pe-N);(Ye<G||Ye<=G&&N>Pe||Ye===100&&G===100)&&(ne=Fe,G=Ye)}}),ne}function Ib(N,G){N.type==="mouseout"&&N.target.nodeName==="HTML"&&N.relatedTarget===null&&$u(N,G)}function Lb(N,G){if(navigator.appVersion.indexOf("MSIE 9")===-1&&N.buttons===0&&G.buttonsProperty!==0)return $u(N,G);var ne=(y.dir?-1:1)*(N.calcPoint-G.startCalcPoint);gf(ne>0,100*ne/G.baseSize,G.locations,G.handleNumbers,G.connect)}function $u(N,G){G.handle&&(b(G.handle,y.cssClasses.active),hn-=1),G.listeners.forEach(function(ne){Ji.removeEventListener(ne[0],ne[1])}),hn===0&&(b(te,y.cssClasses.drag),Pu(),N.cursor&&(Xi.style.cursor="",Xi.removeEventListener("selectstart",a))),G.handleNumbers.forEach(function(ne){jt("change",ne),jt("set",ne),jt("end",ne)})}function Au(N,G){if(!G.handleNumbers.some(xu)){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,Ji,Lb,{target:N.target,handle:ne,connect:G.connect,listeners:_e,startCalcPoint:N.calcPoint,baseSize:hf(),pageOffset:N.pageOffset,handleNumbers:G.handleNumbers,buttonsProperty:N.buttons,locations:He.slice()}),Pe=as(re.end,Ji,$u,{target:N.target,handle:ne,listeners:_e,doNotReject:!0,handleNumbers:G.handleNumbers}),Ye=as("mouseout",Ji,Ib,{target:N.target,handle:ne,listeners:_e,doNotReject:!0,handleNumbers:G.handleNumbers});_e.push.apply(_e,Fe.concat(Pe,Ye)),N.cursor&&(Xi.style.cursor=getComputedStyle(N.target).cursor,ee.length>1&&g(te,y.cssClasses.drag),Xi.addEventListener("selectstart",a,!1)),G.handleNumbers.forEach(function(Ke){jt("start",Ke)})}}function Mb(N){N.stopPropagation();var G=_f(N.calcPoint),ne=Fb(G);ne!==!1&&(y.events.snap||d(te,y.cssClasses.tap,y.animationDuration),Ls(ne,G,!0,!0),Pu(),jt("slide",ne,!0),jt("update",ne,!0),y.events.snap?Au(N,{handleNumbers:[ne]}):(jt("change",ne,!0),jt("set",ne,!0)))}function Rb(N){var G=_f(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(ta,_e)})})}function Nb(N,G){if(mf()||xu(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 Ye,Ke=N.key.replace("Arrow",""),Nt=Ke===Fe[0],Tt=Ke===Fe[1],pt=Ke===_e[0]||Ke===ne[0]||Nt,Wt=Ke===_e[1]||Ke===ne[1]||Tt,vt=Ke===Pe[0],_n=Ke===Pe[1];if(!(pt||Wt||vt||_n))return!0;if(N.preventDefault(),Wt||pt){var ln=pt?0:1,Vt=Cf(G)[ln];if(Vt===null)return!1;Vt===!1&&(Vt=ae.getDefaultStep(He[G],pt,y.keyboardDefaultStep)),Vt*=Tt||Nt?y.keyboardPageMultiplier:y.keyboardMultiplier,Vt=Math.max(Vt,1e-7),Vt*=pt?-1:1,Ye=Ne[G]+Vt}else Ye=_n?y.spectrum.xVal[y.spectrum.xVal.length-1]:y.spectrum.xVal[0];return Ls(G,ae.toStepping(Ye),!0,!0),jt("slide",G),jt("update",G),jt("change",G),jt("set",G),!1}function jb(N){N.fixed||ee.forEach(function(G,ne){as(re.start,G.children[0],Au,{handleNumbers:[ne]})}),N.tap&&as(re.start,K,Mb,{}),N.hover&&as(re.move,K,Rb,{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],Ye=[_e,Fe],Ke=[ne-1,ne];g(G,y.cssClasses.draggable),N.fixed&&(Pe.push(_e.children[0]),Pe.push(Fe.children[0])),N.dragAll&&(Ye=ee,Ke=ut),Pe.forEach(function(Nt){as(re.start,Nt,Au,{handles:Ye,handleNumbers:Ke,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 Vb(N){return N===Be.aria||N===Be.tooltips}function Do(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||Vb(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(ta,Ne.map(y.format.to),G,Ne.slice(),ne||!1,He.slice(),ta)})})}function Qi(N,G,ne,_e,Fe,Pe){var Ye;return ee.length>1&&!y.events.unconstrained&&(_e&&G>0&&(Ye=ae.getAbsoluteDistance(N[G-1],y.margin,!1),ne=Math.max(ne,Ye)),Fe&&G<ee.length-1&&(Ye=ae.getAbsoluteDistance(N[G+1],y.margin,!0),ne=Math.min(ne,Ye))),ee.length>1&&y.limit&&(_e&&G>0&&(Ye=ae.getAbsoluteDistance(N[G-1],y.limit,!1),ne=Math.min(ne,Ye)),Fe&&G<ee.length-1&&(Ye=ae.getAbsoluteDistance(N[G+1],y.limit,!0),ne=Math.max(ne,Ye))),y.padding&&(G===0&&(Ye=ae.getAbsoluteDistance(0,y.padding[0],!1),ne=Math.max(ne,Ye)),G===ee.length-1&&(Ye=ae.getAbsoluteDistance(100,y.padding[1],!0),ne=Math.min(ne,Ye))),!((ne=p(ne=ae.getStep(ne)))===N[G]&&!Pe)&&ne}function Tu(N,G){var ne=y.ort;return(ne?G:N)+", "+(ne?N:G)}function gf(N,G,ne,_e,Fe){var Pe=ne.slice(),Ye=_e[0],Ke=[!N,N],Nt=[N,!N];_e=_e.slice(),N&&_e.reverse(),_e.length>1?_e.forEach(function(pt,Wt){var vt=Qi(Pe,pt,Pe[pt]+G,Ke[Wt],Nt[Wt],!1);vt===!1?G=0:(G=vt-Pe[pt],Pe[pt]=vt)}):Ke=Nt=[!0];var Tt=!1;_e.forEach(function(pt,Wt){Tt=Ls(pt,ne[pt]+G,Ke[Wt],Nt[Wt])||Tt}),Tt&&(_e.forEach(function(pt){jt("update",pt),jt("slide",pt)}),Fe!=null&&jt("drag",Ye))}function yf(N,G){return y.dir?100-N-G:N}function Bb(N,G){He[N]=G,Ne[N]=ae.fromStepping(G);var ne="translate("+Tu(yf(G,0)-xb+"%","0")+")";ee[N].style[y.transformRule]=ne,vf(N),vf(N+1)}function Pu(){ut.forEach(function(N){var G=He[N]>50?-1:1,ne=3+(ee.length+G*N);ee[N].style.zIndex=String(ne)})}function Ls(N,G,ne,_e,Fe){return Fe||(G=Qi(He,N,G,ne,_e,!1)),G!==!1&&(Bb(N,G),!0)}function vf(N){if(fe[N]){var G=0,ne=100;N!==0&&(G=He[N-1]),N!==fe.length-1&&(ne=He[N]);var _e=ne-G,Fe="translate("+Tu(yf(G,_e)+"%","0")+")",Pe="scale("+Tu(_e/100,"1")+")";fe[N].style[y.transformRule]=Fe+" "+Pe}}function bf(N,G){return N===null||N===!1||N===void 0?He[G]:(typeof N=="number"&&(N=String(N)),(N=y.format.from(N))!==!1&&(N=ae.toStepping(N)),N===!1||isNaN(N)?He[G]:N)}function ea(N,G,ne){var _e=h(N),Fe=He[0]===void 0;G=G===void 0||G,y.animate&&!Fe&&d(te,y.cssClasses.tap,y.animationDuration),ut.forEach(function(Ke){Ls(Ke,bf(_e[Ke],Ke),!0,!1,ne)});var Pe=ut.length===1?0:1;if(Fe&&ae.hasNoSize()&&(ne=!0,He[0]=0,ut.length>1)){var Ye=100/(ut.length-1);ut.forEach(function(Ke){He[Ke]=Ke*Ye})}for(;Pe<ut.length;++Pe)ut.forEach(function(Ke){Ls(Ke,He[Ke],!0,!0,ne)});Pu(),ut.forEach(function(Ke){jt("update",Ke),_e[Ke]!==null&&G&&jt("set",Ke)})}function Hb(N){ea(y.start,N)}function Ub(N,G,ne,_e){if(!((N=Number(N))>=0&&N<ut.length))throw new Error("noUiSlider: invalid handle number, got: "+N);Ls(N,bf(G,N),!0,!0,_e),jt("update",N),ne&&jt("set",N)}function wf(N){if(N===void 0&&(N=!1),N)return Ne.length===1?Ne[0]:Ne.slice(0);var G=Ne.map(y.format.to);return G.length===1?G[0]:G}function qb(){for(Do(Be.aria),Do(Be.tooltips),Object.keys(y.cssClasses).forEach(function(N){b(te,y.cssClasses[N])});te.firstChild;)te.removeChild(te.firstChild);delete te.noUiSlider}function Cf(N){var G=He[N],ne=ae.getNearbySteps(G),_e=Ne[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 Ye=ae.countStepDecimals();return Fe!==null&&Fe!==!1&&(Fe=Number(Fe.toFixed(Ye))),Pe!==null&&Pe!==!1&&(Pe=Number(Pe.toFixed(Ye))),[Pe,Fe]}function Wb(){return ut.map(Cf)}function Gb(N,G){var ne=wf(),_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?Eu(y.pips):Su(),y.tooltips?ff():ku(),He=[],ea(i(N.start)?N.start:ne,G)}function Kb(){K=Eb(te),Sb(y.connect,K),jb(y.events),ea(y.start),y.pips&&Eu(y.pips),y.tooltips&&ff(),Ab()}Kb();var ta={destroy:qb,steps:Wb,on:Ou,off:Do,get:wf,set:ea,setHandle:Ub,reset:Hb,__moveHandles:function(N,G,ne){gf(N,G,He,ne)},options:L,updateOptions:Gb,target:te,removePips:Su,removeTooltips:ku,getPositions:function(){return He.slice()},getTooltips:function(){return Le},getOrigins:function(){return ee},pips:Eu};return ta}function qe(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=Re(k,De(y),y);return k.noUiSlider=L,L}var et={__spectrum:ue,cssClasses:Me,create:qe};n.create=qe,n.cssClasses=Me,n.default=et,Object.defineProperty(n,"__esModule",{value:!0})})(t)}));function Dh(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=si(i),m=c.value,f=c.modelValue,d=a.expose!==void 0?f:m,p=bn(d.value);if(gc(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=si(i),m=c.classes,f=c.showTooltip,d=c.tooltipPosition,p=c.orientation,h=At(function(){return Oh({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 _=Oh({},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=b8(e,0,{value:n.value,classList:r.classList}),o=function(i,a,l){var c=si(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,O=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:gc(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)},Be=function(we){a.emit("input",we),a.emit("update:modelValue",we),a.emit("update",we)},he=function(){H.value=w8.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),O.value&&Be(U)}),H.value.on("update",function(we){if(B.value){var U=ge();ue.value&&Dh(j.value,U)||!ue.value&&j.value==U?a.emit("update",U):O.value||Be(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),xo(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){gc(we)?Me(h.value,!1):(ue.value&&!Dh(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(){Be(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",dm(e.sliderProps,{ref:"slider"}),null,16)},Oi.__file="src/Slider.vue";var wd={},C8={get exports(){return wd},set exports(e){wd=e}},z8=[{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=z8,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}})(C8);var x8=1/0,k8="[object Symbol]",S8=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Sv="\\ud800-\\udfff",E8="\\u0300-\\u036f\\ufe20-\\ufe23",$8="\\u20d0-\\u20f0",Ev="\\u2700-\\u27bf",$v="a-z\\xdf-\\xf6\\xf8-\\xff",A8="\\xac\\xb1\\xd7\\xf7",O8="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",T8="\\u2000-\\u206f",P8=" \\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",Av="A-Z\\xc0-\\xd6\\xd8-\\xde",D8="\\ufe0e\\ufe0f",Ov=A8+O8+T8+P8,Tv="['’]",Fh="["+Ov+"]",F8="["+E8+$8+"]",Pv="\\d+",I8="["+Ev+"]",Dv="["+$v+"]",Fv="[^"+Sv+Ov+Pv+Ev+$v+Av+"]",L8="\\ud83c[\\udffb-\\udfff]",M8="(?:"+F8+"|"+L8+")",R8="[^"+Sv+"]",Iv="(?:\\ud83c[\\udde6-\\uddff]){2}",Lv="[\\ud800-\\udbff][\\udc00-\\udfff]",eo="["+Av+"]",N8="\\u200d",Ih="(?:"+Dv+"|"+Fv+")",j8="(?:"+eo+"|"+Fv+")",Lh="(?:"+Tv+"(?:d|ll|m|re|s|t|ve))?",Mh="(?:"+Tv+"(?:D|LL|M|RE|S|T|VE))?",Mv=M8+"?",Rv="["+D8+"]?",V8="(?:"+N8+"(?:"+[R8,Iv,Lv].join("|")+")"+Rv+Mv+")*",B8=Rv+Mv+V8,H8="(?:"+[I8,Iv,Lv].join("|")+")"+B8,U8=RegExp([eo+"?"+Dv+"+"+Lh+"(?="+[Fh,eo,"$"].join("|")+")",j8+"+"+Mh+"(?="+[Fh,eo+Ih,"$"].join("|")+")",eo+"?"+Ih+"+"+Lh,eo+"+"+Mh,Pv,H8].join("|"),"g"),q8=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,W8=typeof on=="object"&&on&&on.Object===Object&&on,G8=typeof self=="object"&&self&&self.Object===Object&&self,K8=W8||G8||Function("return this")();function Z8(e){return e.match(S8)||[]}function Y8(e){return q8.test(e)}function J8(e){return e.match(U8)||[]}var X8=Object.prototype,Q8=X8.toString,Rh=K8.Symbol,Nh=Rh?Rh.prototype:void 0,jh=Nh?Nh.toString:void 0;function eA(e){if(typeof e=="string")return e;if(nA(e))return jh?jh.call(e):"";var t=e+"";return t=="0"&&1/e==-x8?"-0":t}function tA(e){return!!e&&typeof e=="object"}function nA(e){return typeof e=="symbol"||tA(e)&&Q8.call(e)==k8}function rA(e){return e==null?"":eA(e)}function sA(e,t,n){return e=rA(e),t=n?void 0:t,t===void 0?Y8(e)?J8(e):Z8(e):e.match(t)||[]}var oA=sA,iA=1/0,aA="[object Symbol]",lA=/^\s+/,Hm="\\ud800-\\udfff",Nv="\\u0300-\\u036f\\ufe20-\\ufe23",jv="\\u20d0-\\u20f0",Vv="\\ufe0e\\ufe0f",uA="["+Hm+"]",Cd="["+Nv+jv+"]",zd="\\ud83c[\\udffb-\\udfff]",cA="(?:"+Cd+"|"+zd+")",Bv="[^"+Hm+"]",Hv="(?:\\ud83c[\\udde6-\\uddff]){2}",Uv="[\\ud800-\\udbff][\\udc00-\\udfff]",qv="\\u200d",Wv=cA+"?",Gv="["+Vv+"]?",dA="(?:"+qv+"(?:"+[Bv,Hv,Uv].join("|")+")"+Gv+Wv+")*",mA=Gv+Wv+dA,fA="(?:"+[Bv+Cd+"?",Cd,Hv,Uv,uA].join("|")+")",pA=RegExp(zd+"(?="+zd+")|"+fA+mA,"g"),hA=RegExp("["+qv+Hm+Nv+jv+Vv+"]"),_A=typeof on=="object"&&on&&on.Object===Object&&on,gA=typeof self=="object"&&self&&self.Object===Object&&self,yA=_A||gA||Function("return this")();function vA(e){return e.split("")}function bA(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 wA(e,t,n){if(t!==t)return bA(e,CA,n);for(var r=n-1,s=e.length;++r<s;)if(e[r]===t)return r;return-1}function CA(e){return e!==e}function zA(e,t){for(var n=-1,r=e.length;++n<r&&wA(t,e[n],0)>-1;);return n}function xA(e){return hA.test(e)}function Vh(e){return xA(e)?kA(e):vA(e)}function kA(e){return e.match(pA)||[]}var SA=Object.prototype,EA=SA.toString,Bh=yA.Symbol,Hh=Bh?Bh.prototype:void 0,Uh=Hh?Hh.toString:void 0;function $A(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 Kv(e){if(typeof e=="string")return e;if(TA(e))return Uh?Uh.call(e):"";var t=e+"";return t=="0"&&1/e==-iA?"-0":t}function AA(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:$A(e,t,n)}function OA(e){return!!e&&typeof e=="object"}function TA(e){return typeof e=="symbol"||OA(e)&&EA.call(e)==aA}function PA(e){return e==null?"":Kv(e)}function DA(e,t,n){if(e=PA(e),e&&(n||t===void 0))return e.replace(lA,"");if(!e||!(t=Kv(t)))return e;var r=Vh(e),s=zA(r,Vh(t));return AA(r,s).join("")}var FA=DA,xd=1/0,IA=9007199254740991,LA=17976931348623157e292,qh=0/0,MA="[object Symbol]",RA=/^\s+|\s+$/g,NA=/^[-+]0x[0-9a-f]+$/i,jA=/^0b[01]+$/i,VA=/^0o[0-7]+$/i,Um="\\ud800-\\udfff",Zv="\\u0300-\\u036f\\ufe20-\\ufe23",Yv="\\u20d0-\\u20f0",Jv="\\ufe0e\\ufe0f",BA="["+Um+"]",kd="["+Zv+Yv+"]",Sd="\\ud83c[\\udffb-\\udfff]",HA="(?:"+kd+"|"+Sd+")",Xv="[^"+Um+"]",Qv="(?:\\ud83c[\\udde6-\\uddff]){2}",e1="[\\ud800-\\udbff][\\udc00-\\udfff]",t1="\\u200d",n1=HA+"?",r1="["+Jv+"]?",UA="(?:"+t1+"(?:"+[Xv,Qv,e1].join("|")+")"+r1+n1+")*",qA=r1+n1+UA,WA="(?:"+[Xv+kd+"?",kd,Qv,e1,BA].join("|")+")",Ed=RegExp(Sd+"(?="+Sd+")|"+WA+qA,"g"),GA=RegExp("["+t1+Um+Zv+Yv+Jv+"]"),KA=parseInt,ZA=typeof on=="object"&&on&&on.Object===Object&&on,YA=typeof self=="object"&&self&&self.Object===Object&&self,JA=ZA||YA||Function("return this")(),XA=e6("length");function QA(e){return e.split("")}function e6(e){return function(t){return t==null?void 0:t[e]}}function qm(e){return GA.test(e)}function s1(e){return qm(e)?n6(e):XA(e)}function t6(e){return qm(e)?r6(e):QA(e)}function n6(e){for(var t=Ed.lastIndex=0;Ed.test(e);)t++;return t}function r6(e){return e.match(Ed)||[]}var s6=Object.prototype,o6=s6.toString,Wh=JA.Symbol,i6=Math.ceil,a6=Math.floor,Gh=Wh?Wh.prototype:void 0,Kh=Gh?Gh.toString:void 0;function Zh(e,t){var n="";if(!e||t<1||t>IA)return n;do t%2&&(n+=e),t=a6(t/2),t&&(e+=e);while(t);return n}function l6(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 o1(e){if(typeof e=="string")return e;if(i1(e))return Kh?Kh.call(e):"";var t=e+"";return t=="0"&&1/e==-xd?"-0":t}function u6(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:l6(e,t,n)}function c6(e,t){t=t===void 0?" ":o1(t);var n=t.length;if(n<2)return n?Zh(t,e):t;var r=Zh(t,i6(e/s1(t)));return qm(t)?u6(t6(r),0,e).join(""):r.slice(0,e)}function Yh(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function d6(e){return!!e&&typeof e=="object"}function i1(e){return typeof e=="symbol"||d6(e)&&o6.call(e)==MA}function m6(e){if(!e)return e===0?e:0;if(e=p6(e),e===xd||e===-xd){var t=e<0?-1:1;return t*LA}return e===e?e:0}function f6(e){var t=m6(e),n=t%1;return t===t?n?t-n:t:0}function p6(e){if(typeof e=="number")return e;if(i1(e))return qh;if(Yh(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Yh(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(RA,"");var n=jA.test(e);return n||VA.test(e)?KA(e.slice(2),n?2:8):NA.test(e)?qh:+e}function h6(e){return e==null?"":o1(e)}function _6(e,t,n){e=h6(e),t=f6(t);var r=t?s1(e):0;return t&&r<t?e+c6(t-r,n):e}var g6=_6,y6=(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 Ti="a-f\\d",v6=`#?[${Ti}]{3}[${Ti}]?`,b6=`#?[${Ti}]{6}([${Ti}]{2})?`,w6=new RegExp(`[^#${Ti}]`,"gi"),C6=new RegExp(`^${v6}$|^${b6}$`,"i");var z6=(e,t={})=>{if(typeof e!="string"||w6.test(e)||!C6.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}},x6=wd,k6=oA,S6=FA,E6=g6,$6=y6,a1=z6;const yc=.75,vc=.25,bc=16777215,A6=49979693;var O6=function(e){return"#"+D6(String(JSON.stringify(e)))};function T6(e){var t=k6(e),n=[];return t.forEach(function(r){var s=x6(r);s&&n.push(a1(S6(s,"#"),{format:"array"}))}),n}function P6(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 D6(e){var t,n=T6(e);n.length>0&&(t=P6(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(bc/s),r=(r+e[i].charCodeAt(0)*o*A6)%bc;var a=(r*e.length%bc).toString(16);a=E6(a,6,a);var l=a1(a,{format:"array"});return t?$6(vc*l[0]+yc*t[0],vc*l[1]+yc*t[1],vc*l[2]+yc*t[2]):a}function F6(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 I6(e){return F6(e)?"#000000":"#ffffff"}function L6(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 l1(e,t,n){const r=O6(t),s=I6(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 L6(o)}const M6={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 l1(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 R6(e,t,n,r,s,o){const i=eu("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 Tr=ve(M6,[["render",R6]]),N6={name:"PageNowPlaying",components:{ModalDialogQueueItem:fv,Slider:Oi,CoverArtwork:Tr},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(Cm,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}}},j6={key:0,class:"fd-is-fullheight"},V6={class:"fd-is-expanded"},B6={class:"fd-has-padding-left-right"},H6={class:"container has-text-centered"},U6={class:"control has-text-centered fd-progress-now-playing"},q6={class:"content"},W6=["textContent"],G6={class:"fd-has-padding-left-right"},K6={class:"container has-text-centered fd-has-margin-top"},Z6=["textContent"],Y6=["textContent"],J6=["textContent"],X6=["textContent"],Q6=["textContent"],eO={key:1,class:"fd-is-fullheight"},tO={class:"fd-is-expanded fd-has-padding-left-right",style:{"flex-direction":"column"}},nO={class:"content has-text-centered"},rO=["textContent"],sO=["textContent"];function oO(e,t,n,r,s,o){const i=P("cover-artwork"),a=P("Slider"),l=P("modal-dialog-queue-item");return E(),D("section",null,[o.now_playing.id>0?(E(),D("div",j6,[u("div",V6,[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",B6,[u("div",H6,[u("p",U6,[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",q6,[u("span",{textContent:v([e.$filters.durationInHours(s.item_progress_ms),e.$filters.durationInHours(o.now_playing.length_ms)].join(" / "))},null,8,W6)])])]),u("div",G6,[u("div",K6,[u("h1",{class:"title is-5",textContent:v(o.now_playing.title)},null,8,Z6),u("h2",{class:"title is-6",textContent:v(o.now_playing.artist)},null,8,Y6),o.composer?(E(),D("h2",{key:0,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:v(o.composer)},null,8,J6)):Q("",!0),u("h3",{class:"subtitle is-6",textContent:v(o.now_playing.album)},null,8,X6),o.filepath?(E(),D("h3",{key:1,class:"subtitle is-6 has-text-grey",textContent:v(o.filepath)},null,8,Q6)):Q("",!0)])])])):(E(),D("div",eO,[u("div",tO,[u("div",nO,[u("h1",{class:"title is-5",textContent:v(e.$("page.now-playing.title"))},null,8,rO),u("p",{textContent:v(e.$("page.now-playing.info"))},null,8,sO)])])])),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 iO=ve(N6,[["render",oO]]),aO={name:"TabsMusic",computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},lO={class:"section fd-tabs-section"},uO={class:"container"},cO={class:"columns is-centered"},dO={class:"column is-four-fifths"},mO={class:"tabs is-centered is-small"},fO=["onClick","onKeypress"],pO={class:"icon is-small"},hO=["textContent"],_O=["onClick","onKeypress"],gO={class:"icon is-small"},yO=["textContent"],vO=["onClick","onKeypress"],bO={class:"icon is-small"},wO=["textContent"],CO=["onClick","onKeypress"],zO={class:"icon is-small"},xO=["textContent"],kO=["onClick","onKeypress"],SO={class:"icon is-small"},EO=["textContent"],$O=["onClick","onKeypress"],AO={class:"icon is-small"},OO=["textContent"];function TO(e,t,n,r,s,o){const i=P("mdicon"),a=P("router-link");return E(),D("section",lO,[u("div",uO,[u("div",cO,[u("div",dO,[u("div",mO,[u("ul",null,[C(a,{to:"/music/browse",custom:""},{default:T(({navigate:l,isActive:c})=>[u("li",{class:Ze({"is-active":c})},[u("a",{onClick:l,onKeypress:Pn(l,["enter"])},[u("span",pO,[C(i,{name:"web",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.browse"))},null,8,hO)],40,fO)],2)]),_:1}),C(a,{to:"/music/artists",custom:""},{default:T(({navigate:l,isActive:c})=>[u("li",{class:Ze({"is-active":c})},[u("a",{onClick:l,onKeypress:Pn(l,["enter"])},[u("span",gO,[C(i,{name:"account-music",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.artists"))},null,8,yO)],40,_O)],2)]),_:1}),C(a,{to:"/music/albums",custom:""},{default:T(({navigate:l,isActive:c})=>[u("li",{class:Ze({"is-active":c})},[u("a",{onClick:l,onKeypress:Pn(l,["enter"])},[u("span",bO,[C(i,{name:"album",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.albums"))},null,8,wO)],40,vO)],2)]),_:1}),C(a,{to:"/music/genres",custom:""},{default:T(({navigate:l,isActive:c})=>[u("li",{class:Ze({"is-active":c})},[u("a",{onClick:l,onKeypress:Pn(l,["enter"])},[u("span",zO,[C(i,{name:"speaker",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.genres"))},null,8,xO)],40,CO)],2)]),_:1}),C(a,{to:"/music/composers",custom:""},{default:T(({navigate:l,isActive:c})=>[u("li",{class:Ze({"is-active":c})},[u("a",{onClick:l,onKeypress:Pn(l,["enter"])},[u("span",SO,[C(i,{name:"book-open-page-variant",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.composers"))},null,8,EO)],40,kO)],2)]),_:1}),o.spotify_enabled?(E(),xe(a,{key:0,to:"/music/spotify",custom:""},{default:T(({navigate:l,isActive:c})=>[u("li",{class:Ze({"is-active":c})},[u("a",{onClick:l,onKeypress:Pn(l,["enter"])},[u("span",AO,[C(i,{name:"spotify",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.spotify"))},null,8,OO)],40,$O)],2)]),_:1})):Q("",!0)])])])])])])}const gr=ve(aO,[["render",TO]]),PO={name:"ModalDialogAlbum",components:{CoverArtwork:Tr},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}}},DO={key:0,class:"modal is-active"},FO={class:"modal-content fd-modal-card"},IO={class:"card"},LO={class:"card-content"},MO={class:"title is-4"},RO=["textContent"],NO={key:0,class:"buttons"},jO=["textContent"],VO=["textContent"],BO={class:"content is-small"},HO={key:0},UO=["textContent"],qO=["textContent"],WO={key:1},GO=["textContent"],KO=["textContent"],ZO={key:2},YO=["textContent"],JO=["textContent"],XO=["textContent"],QO=["textContent"],eT=["textContent"],tT=["textContent"],nT=["textContent"],rT=["textContent"],sT=["textContent"],oT=["textContent"],iT={class:"card-footer"},aT={class:"icon"},lT=["textContent"],uT={class:"icon"},cT=["textContent"],dT={class:"icon"},mT=["textContent"];function fT(e,t,n,r,s,o){const i=P("cover-artwork"),a=P("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:T(()=>[n.show?(E(),D("div",DO,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),u("div",FO,[u("div",IO,[u("div",LO,[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",MO,[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,RO)]),o.media_kind_resolved==="podcast"?(E(),D("div",NO,[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,jO),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,VO)])):Q("",!0),u("div",BO,[n.album.artist?(E(),D("p",HO,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.artist"))},null,8,UO),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,qO)])):Q("",!0),n.album.date_released?(E(),D("p",WO,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.release-date"))},null,8,GO),u("span",{class:"title is-6",textContent:v(e.$filters.date(n.album.date_released))},null,8,KO)])):n.album.year>0?(E(),D("p",ZO,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.year"))},null,8,YO),u("span",{class:"title is-6",textContent:v(n.album.year)},null,8,JO)])):Q("",!0),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.tracks"))},null,8,XO),u("span",{class:"title is-6",textContent:v(n.album.track_count)},null,8,QO)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.duration"))},null,8,eT),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.album.length_ms))},null,8,tT)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.type"))},null,8,nT),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,rT)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.added-on"))},null,8,sT),u("span",{class:"title is-6",textContent:v(e.$filters.datetime(n.album.time_added))},null,8,oT)])])]),u("footer",iT,[u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>o.queue_add&&o.queue_add(...l))},[u("span",aT,[C(a,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.album.add"))},null,8,lT)]),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",uT,[C(a,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.album.add-next"))},null,8,cT)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...l)=>o.play&&o.play(...l))},[u("span",dT,[C(a,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.album.play"))},null,8,mT)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=l=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const hu=ve(PO,[["render",fT]]),pT={name:"ModalDialog",props:["show","title","ok_action","delete_action","close_action"],emits:["delete","close","ok"]},hT={key:0,class:"modal is-active"},_T={class:"modal-content fd-modal-card"},gT={class:"card"},yT={class:"card-content"},vT=["textContent"],bT={class:"card-footer"},wT={class:"icon"},CT=["textContent"],zT={class:"icon"},xT=["textContent"],kT={class:"icon"},ST=["textContent"];function ET(e,t,n,r,s,o){const i=P("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:T(()=>[n.show?(E(),D("div",hT,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",_T,[u("div",gT,[u("div",yT,[n.title?(E(),D("p",{key:0,class:"title is-4",textContent:v(n.title)},null,8,vT)):Q("",!0),zt(e.$slots,"modal-content")]),u("footer",bT,[u("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=a=>e.$emit("close"))},[u("span",wT,[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,CT)]),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",zT,[C(i,{name:"delete",size:"16"})]),u("span",{class:"is-size-7",textContent:v(n.delete_action)},null,8,xT)])):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",kT,[C(i,{name:"check",size:"16"})]),u("span",{class:"is-size-7",textContent:v(n.ok_action)},null,8,ST)])):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 Wm=ve(pT,[["render",ET]]),$T={name:"ListAlbums",components:{ModalDialogAlbum:hu,ModalDialog:Wm},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 l1(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})}}},AT={key:0,class:"mt-6 mb-5 py-2"},OT=["id","textContent"],TT=["onClick"],PT={key:0,class:"media-left fd-has-action"},DT={class:"image is-64x64 fd-has-shadow fd-has-action"},FT=["album","artist"],IT={class:"media-content fd-has-action is-clipped"},LT={style:{"margin-top":"0.7rem"}},MT=["textContent"],RT={class:"subtitle is-7 has-text-grey"},NT=["textContent"],jT=["textContent"],VT={class:"media-right",style:{"padding-top":"0.7rem"}},BT=["onClick"],HT={class:"icon has-text-dark"},UT=["textContent"],qT={class:"is-size-7"},WT=yt(" ("),GT=["textContent"],KT=["textContent"],ZT=yt(") ");function YT(e,t,n,r,s,o){const i=P("mdicon"),a=P("modal-dialog-album"),l=P("modal-dialog"),c=eu("lazy");return E(),D(We,null,[(E(!0),D(We,null,wt(n.albums,m=>(E(),D(We,{key:m.itemId},[!m.isItem&&!n.hide_group_title?(E(),D("div",AT,[u("span",{id:"index_"+m.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:v(m.groupKey)},null,8,OT)])):m.isItem?(E(),D("div",{key:1,class:"media",onClick:f=>o.open_album(m.item)},[o.is_visible_artwork?(E(),D("div",PT,[u("div",DT,[u("figure",null,[xt(u("img",{album:m.item.name,artist:m.item.artist},null,8,FT),[[c,{src:o.artwork_url_with_size(m.item.artwork_url),lifecycle:s.artwork_options.lazy_lifecycle,delay:500}]])])])])):Q("",!0),u("div",IT,[u("div",LT,[u("h1",{class:"title is-6",textContent:v(m.item.name)},null,8,MT),u("h2",RT,[u("b",{textContent:v(m.item.artist)},null,8,NT)]),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,jT)):Q("",!0)])]),u("div",VT,[u("a",{onClick:ht(f=>o.open_dialog(m.item),["prevent","stop"])},[u("span",HT,[C(i,{name:"dots-vertical",size:"16"})])],8,BT)])],8,TT)):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":T(()=>[u("p",{textContent:v(e.$t("list.albums.info-1"))},null,8,UT),u("p",qT,[WT,u("span",{textContent:v(e.$t("list.albums.info-2"))},null,8,GT),u("b",{textContent:v(s.rss_playlist_to_remove.name)},null,8,KT),ZT])]),_:1},8,["show","onDelete"])]))],64)}const yr=ve($T,[["render",YT]]),JT={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")})}}},XT={key:0,class:"modal is-active"},QT={class:"modal-content fd-modal-card"},e3={class:"card"},t3={class:"card-content"},n3=["textContent"],r3=["textContent"],s3={key:0,class:"buttons"},o3=["textContent"],i3=["textContent"],a3={class:"content is-small"},l3=["textContent"],u3=["textContent"],c3={key:0},d3=["textContent"],m3=["textContent"],f3={key:1},p3=["textContent"],h3=["textContent"],_3={key:2},g3=["textContent"],y3=["textContent"],v3={key:3},b3=["textContent"],w3=["textContent"],C3={key:4},z3=["textContent"],x3=["textContent"],k3=["textContent"],S3=["textContent"],E3=["textContent"],$3=["textContent"],A3=["textContent"],O3=["textContent"],T3=["textContent"],P3={class:"title is-6"},D3=["textContent"],F3={key:0,class:"has-text-weight-normal"},I3=yt(" ("),L3=["textContent"],M3=yt(", "),R3=["textContent"],N3=yt(") "),j3=["textContent"],V3={class:"title is-6"},B3=["textContent"],H3=["textContent"],U3=["textContent"],q3=["textContent"],W3=["textContent"],G3=["textContent"],K3=["textContent"],Z3=["textContent"],Y3={key:5},J3=["textContent"],X3=["textContent"],Q3={class:"card-footer"},e4={class:"icon"},t4=["textContent"],n4={class:"icon"},r4=["textContent"],s4={class:"icon"},o4=["textContent"];function i4(e,t,n,r,s,o){const i=P("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:T(()=>[n.show?(E(),D("div",XT,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",QT,[u("div",e3,[u("div",t3,[u("p",{class:"title is-4",textContent:v(n.track.title)},null,8,n3),u("p",{class:"subtitle",textContent:v(n.track.artist)},null,8,r3),n.track.media_kind==="podcast"?(E(),D("div",s3,[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,o3)):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,i3)):Q("",!0)])):Q("",!0),u("div",a3,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.album"))},null,8,l3),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,u3)]),n.track.album_artist&&n.track.media_kind!=="audiobook"?(E(),D("p",c3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.album-artist"))},null,8,d3),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,m3)])):Q("",!0),n.track.composer?(E(),D("p",f3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.composer"))},null,8,p3),u("span",{class:"title is-6",textContent:v(n.track.composer)},null,8,h3)])):Q("",!0),n.track.date_released?(E(),D("p",_3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.release-date"))},null,8,g3),u("span",{class:"title is-6",textContent:v(e.$filters.date(n.track.date_released))},null,8,y3)])):n.track.year>0?(E(),D("p",v3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.year"))},null,8,b3),u("span",{class:"title is-6",textContent:v(n.track.year)},null,8,w3)])):Q("",!0),n.track.genre?(E(),D("p",C3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.genre"))},null,8,z3),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,x3)])):Q("",!0),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.position"))},null,8,k3),u("span",{class:"title is-6",textContent:v([n.track.disc_number,n.track.track_number].join(" / "))},null,8,S3)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.duration"))},null,8,E3),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.track.length_ms))},null,8,$3)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.path"))},null,8,A3),u("span",{class:"title is-6",textContent:v(n.track.path)},null,8,O3)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.type"))},null,8,T3),u("span",P3,[u("span",{textContent:v([e.$t("media.kind."+n.track.media_kind),e.$t("data.kind."+n.track.data_kind)].join(" - "))},null,8,D3),n.track.data_kind==="spotify"?(E(),D("span",F3,[I3,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,L3),M3,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,R3),N3])):Q("",!0)])]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.quality"))},null,8,j3),u("span",V3,[u("span",{textContent:v(n.track.type)},null,8,B3),n.track.samplerate?(E(),D("span",{key:0,textContent:v(e.$t("dialog.track.samplerate",{rate:n.track.samplerate}))},null,8,H3)):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,U3)):Q("",!0),n.track.bitrate?(E(),D("span",{key:2,textContent:v(e.$t("dialog.track.bitrate",{rate:n.track.bitrate}))},null,8,q3)):Q("",!0)])]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.added-on"))},null,8,W3),u("span",{class:"title is-6",textContent:v(e.$filters.datetime(n.track.time_added))},null,8,G3)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.rating"))},null,8,K3),u("span",{class:"title is-6",textContent:v(e.$t("dialog.track.rating-value",{rating:Math.floor(n.track.rating/10)}))},null,8,Z3)]),n.track.comment?(E(),D("p",Y3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.comment"))},null,8,J3),u("span",{class:"title is-6",textContent:v(n.track.comment)},null,8,X3)])):Q("",!0)])]),u("footer",Q3,[u("a",{class:"card-footer-item has-text-dark",onClick:t[8]||(t[8]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",e4,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.track.add"))},null,8,t4)]),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",n4,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.track.add-next"))},null,8,r4)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[10]||(t[10]=(...a)=>o.play_track&&o.play_track(...a))},[u("span",s4,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.track.play"))},null,8,o4)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[11]||(t[11]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const a4=ve(JT,[["render",i4]]),l4={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 u4(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 c4=ve(l4,[["render",u4]]),d4={name:"ListTracks",components:{ModalDialogTrack:a4,ProgressBar:c4},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}}},m4=["id","onClick"],f4={key:0,class:"media-left fd-has-action"},p4={class:"icon"},h4={class:"media-content fd-has-action is-clipped"},_4=["textContent"],g4=["textContent"],y4=["textContent"],v4={class:"media-right"},b4=["onClick"],w4={class:"icon has-text-dark"};function C4(e,t,n,r,s,o){const i=P("mdicon"),a=P("progress-bar"),l=P("modal-dialog-track");return E(),D(We,null,[(E(!0),D(We,null,wt(n.tracks,(c,m)=>(E(),D("div",{id:"index_"+c.title_sort.charAt(0).toUpperCase(),key:c.id,class:Ze(["media",{"with-progress":n.show_progress}]),onClick:f=>o.play_track(m,c)},[n.show_icon?(E(),D("figure",f4,[u("span",p4,[C(i,{name:"file-outline",size:"16"})])])):Q("",!0),u("div",h4,[u("h1",{class:Ze(["title is-6",{"has-text-grey":c.media_kind==="podcast"&&c.play_count>0}]),textContent:v(c.title)},null,10,_4),u("h2",{class:"subtitle is-7 has-text-grey",textContent:v(c.artist)},null,8,g4),u("h2",{class:"subtitle is-7 has-text-grey",textContent:v(c.album)},null,8,y4),n.show_progress?(E(),xe(a,{key:0,max:c.length_ms,value:c.seek_ms},null,8,["max","value"])):Q("",!0)]),u("div",v4,[u("a",{onClick:ht(f=>o.open_dialog(c),["prevent","stop"])},[u("span",w4,[C(i,{name:"dots-vertical",size:"16"})])],8,b4)])],10,m4))),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(d4,[["render",C4]]),{t:wc,locale:Gm}=Bi.global,u1="GROUP_KEY_NONE";function c1(){return{compareFn:null,groupKeyFn:e=>u1}}function $o(e,t="_"){return{compareFn:null,groupKeyFn:n=>(n[e]||t).charAt(0).toUpperCase()}}function d1(e,t="_"){return{compareFn:(n,r)=>{const s=n[e]||t,o=r[e]||t;return s.localeCompare(o,Gm.value)},groupKeyFn:n=>(n[e]||t).charAt(0).toUpperCase()}}function Dl(e,{direction:t="asc",defaultValue:n="0000"}){return{compareFn:(r,s)=>{const o=r[e]||n,i=s[e]||n,a=o.localeCompare(i,Gm.value);return t==="asc"?a:a*-1},groupKeyFn:r=>(r[e]||n).substring(0,4)}}function z4(e,t="0000"){return{compareFn:(n,r)=>{const s=n[e]||t;return(r[e]||t).localeCompare(s,Gm.value)},groupKeyFn:n=>{const r=n[e];if(!r)return t;const s=new Date().getTime()-new Date(r).getTime();return s<864e5?wc("group-by-list.today"):s<6048e5?wc("group-by-list.last-week"):s<2592e6?wc("group-by-list.last-month"):r.substring(0,4)}}}class rt{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(c1())}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]!==u1))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 va={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 rt(t[0].data.albums),e.recently_played=t[1].data.tracks}},x4={name:"PageBrowse",components:{ContentWithHeading:ft,TabsMusic:gr,ListAlbums:yr,ListTracks:Rn},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{recently_added:[],recently_played:{items:[]},show_track_details_modal:!1,selected_track:{}}},methods:{open_browse:function(e){this.$router.push({path:"/music/browse/"+e})}}},k4={class:"fd-page-with-tabs"},S4=["textContent"],E4=["textContent"],$4={class:"level"},A4={class:"level-item"},O4=["textContent"],T4=["textContent"],P4=["textContent"],D4={class:"level"},F4={class:"level-item"},I4=["textContent"];function L4(e,t,n,r,s,o){const i=P("tabs-music"),a=P("list-albums"),l=P("content-with-heading"),c=P("list-tracks");return E(),D("div",k4,[C(i),C(l,null,{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.browse.recently-added.title"))},null,8,S4),u("p",{class:"heading",textContent:v(e.$t("page.browse.albums"))},null,8,E4)]),content:T(()=>[C(a,{albums:s.recently_added},null,8,["albums"])]),footer:T(()=>[u("nav",$4,[u("p",A4,[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,O4)])])]),_:1}),C(l,null,{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.browse.recently-played.title"))},null,8,T4),u("p",{class:"heading",textContent:v(e.$t("page.browse.tracks"))},null,8,P4)]),content:T(()=>[C(c,{tracks:s.recently_played.items},null,8,["tracks"])]),footer:T(()=>[u("nav",D4,[u("p",F4,[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,I4)])])]),_:1})])}const M4=ve(x4,[["render",L4]]),ba={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 rt(t.data.albums),e.recently_added.group(z4("time_added",{direction:"desc",defaultValue:"0000"}))}},R4={name:"PageBrowseType",components:{ContentWithHeading:ft,TabsMusic:gr,ListAlbums:yr},beforeRouteEnter(e,t,n){ba.load(e).then(r=>{n(s=>ba.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.recently_added.isEmpty()){n();return}const r=this;ba.load(e).then(s=>{ba.set(r,s),n()})},data(){return{recently_added:new rt}}},N4={class:"fd-page-with-tabs"},j4=["textContent"],V4=["textContent"];function B4(e,t,n,r,s,o){const i=P("tabs-music"),a=P("list-albums"),l=P("content-with-heading");return E(),D("div",N4,[C(i),C(l,null,{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.browse.recently-added.title"))},null,8,j4),u("p",{class:"heading",textContent:v(e.$t("page.browse.recently-added.albums"))},null,8,V4)]),content:T(()=>[C(a,{albums:s.recently_added},null,8,["albums"])]),_:1})])}const H4=ve(R4,[["render",B4]]),wa={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=t.data.tracks}},U4={name:"PageBrowseType",components:{ContentWithHeading:ft,TabsMusic:gr,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_played:{}}}},q4={class:"fd-page-with-tabs"},W4=["textContent"],G4=["textContent"];function K4(e,t,n,r,s,o){const i=P("tabs-music"),a=P("list-tracks"),l=P("content-with-heading");return E(),D("div",q4,[C(i),C(l,null,{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.browse.recently-played.title"))},null,8,W4),u("p",{class:"heading",textContent:v(e.$t("page.browse.recently-played.tracks"))},null,8,G4)]),content:T(()=>[C(a,{tracks:s.recently_played.items},null,8,["tracks"])]),_:1})])}const Z4=ve(U4,[["render",K4]]),Y4={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"})}}},J4={class:"buttons is-centered fd-is-square",style:{"margin-bottom":"16px"}},X4=["onClick","textContent"];function Q4(e,t,n,r,s,o){return E(),D("section",null,[u("nav",J4,[(E(!0),D(We,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,X4))),128))])])}const Pr=ve(Y4,[["render",Q4]]),e5={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})}}},t5={key:0,class:"modal is-active"},n5={class:"modal-content fd-modal-card"},r5={class:"card"},s5={class:"card-content"},o5={class:"title is-4"},i5=["textContent"],a5={class:"content is-small"},l5=["textContent"],u5=["textContent"],c5=["textContent"],d5=["textContent"],m5=["textContent"],f5=["textContent"],p5=["textContent"],h5=["textContent"],_5={class:"card-footer"},g5={class:"icon"},y5=["textContent"],v5={class:"icon"},b5=["textContent"],w5={class:"icon"},C5=["textContent"];function z5(e,t,n,r,s,o){const i=P("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:T(()=>[n.show?(E(),D("div",t5,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",n5,[u("div",r5,[u("div",s5,[u("p",o5,[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,i5)]),u("div",a5,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.artist.albums"))},null,8,l5),u("span",{class:"title is-6",textContent:v(n.artist.album_count)},null,8,u5)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.artist.tracks"))},null,8,c5),u("span",{class:"title is-6",textContent:v(n.artist.track_count)},null,8,d5)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.artist.type"))},null,8,m5),u("span",{class:"title is-6",textContent:v(e.$t("data.kind."+n.artist.data_kind))},null,8,f5)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.artist.added-on"))},null,8,p5),u("span",{class:"title is-6",textContent:v(e.$filters.datetime(n.artist.time_added))},null,8,h5)])])]),u("footer",_5,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",g5,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.artist.add"))},null,8,y5)]),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",v5,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.artist.add-next"))},null,8,b5)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[u("span",w5,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.artist.play"))},null,8,C5)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const _u=ve(e5,[["render",z5]]),x5={name:"ListArtists",components:{ModalDialogArtist:_u},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}}},k5={key:0,class:"mt-6 mb-5 py-2"},S5={class:"media-content is-clipped"},E5=["id","textContent"],$5=["onClick"],A5={class:"media-content fd-has-action is-clipped"},O5=["textContent"],T5={class:"media-right"},P5=["onClick"],D5={class:"icon has-text-dark"};function F5(e,t,n,r,s,o){const i=P("mdicon"),a=P("modal-dialog-artist");return E(),D(We,null,[(E(!0),D(We,null,wt(n.artists,l=>(E(),D(We,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(E(),D("div",k5,[u("div",S5,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:v(l.groupKey)},null,8,E5)])])):l.isItem?(E(),D("div",{key:1,class:"media",onClick:c=>o.open_artist(l.item)},[u("div",A5,[u("h1",{class:"title is-6",textContent:v(l.item.name)},null,8,O5)]),u("div",T5,[u("a",{onClick:ht(c=>o.open_dialog(l.item),["prevent","stop"])},[u("span",D5,[C(i,{name:"dots-vertical",size:"16"})])],8,P5)])],8,$5)):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 Km=ve(x5,[["render",F5]]),I5={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)}}},L5={class:"dropdown-trigger"},M5=["textContent"],R5={class:"icon"},N5={id:"dropdown-menu",class:"dropdown-menu",role:"menu"},j5={class:"dropdown-content"},V5=["onClick","textContent"];function B5(e,t,n,r,s,o){const i=P("mdicon"),a=eu("click-away");return xt((E(),D("div",{class:Ze(["dropdown",{"is-active":s.is_active}])},[u("div",L5,[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,M5),u("span",R5,[C(i,{name:"chevron-down",size:"16"})])])]),u("div",N5,[u("div",j5,[(E(!0),D(We,null,wt(n.options,l=>(E(),D("a",{key:l.id,class:Ze(["dropdown-item",{"is-active":n.modelValue===l.id}]),onClick:c=>o.select(l),textContent:v(l.name)},null,10,V5))),128))])])],2)),[[a,o.onClickOutside]])}const gu=ve(I5,[["render",B5]]),Ca={load:function(e){return Z.library_artists("music")},set:function(e,t){e.artists_list=new rt(t.data)}},H5={name:"PageArtists",components:{ContentWithHeading:ft,TabsMusic:gr,IndexButtonList:Pr,ListArtists:Km,DropdownMenu:gu},beforeRouteEnter(e,t,n){Ca.load(e).then(r=>{n(s=>Ca.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.artists_list.isEmpty()){n();return}const r=this;Ca.load(e).then(s=>{Ca.set(r,s),n()})},data(){return{artists_list:new rt,groupby_options:[{id:1,name:this.$t("page.artists.sort-by.name"),options:$o("name_sort")},{id:2,name:this.$t("page.artists.sort-by.recently-added"),options:Dl("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(Fy,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(lu,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(Sm,e)}}},methods:{}},U5={class:"fd-page-with-tabs"},q5={class:"columns"},W5={class:"column"},G5=["textContent"],K5={class:"field"},Z5={class:"control"},Y5=["textContent"],J5=["textContent"],X5={key:0,class:"field"},Q5={class:"control"},eP=["textContent"],tP=["textContent"],nP={class:"column"},rP=["textContent"],sP=["textContent"],oP=["textContent"];function iP(e,t,n,r,s,o){const i=P("tabs-music"),a=P("index-button-list"),l=P("dropdown-menu"),c=P("list-artists"),m=P("content-with-heading");return E(),D("div",U5,[C(i),C(m,null,{options:T(()=>[C(a,{index:o.artists.indexList},null,8,["index"]),u("div",q5,[u("div",W5,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.artists.filter"))},null,8,G5),u("div",K5,[u("div",Z5,[xt(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=f=>o.hide_singles=f),type:"checkbox",name:"switchHideSingles",class:"switch"},null,512),[[Sr,o.hide_singles]]),u("label",{for:"switchHideSingles",textContent:v(e.$t("page.artists.hide-singles"))},null,8,Y5)]),u("p",{class:"help",textContent:v(e.$t("page.artists.hide-singles-help"))},null,8,J5)]),o.spotify_enabled?(E(),D("div",X5,[u("div",Q5,[xt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=f=>o.hide_spotify=f),type:"checkbox",name:"switchHideSpotify",class:"switch"},null,512),[[Sr,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:v(e.$t("page.artists.hide-spotify"))},null,8,eP)]),u("p",{class:"help",textContent:v(e.$t("page.artists.hide-spotify-help"))},null,8,tP)])):Q("",!0)]),u("div",nP,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.artists.sort-by.title"))},null,8,rP),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":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.artists.title"))},null,8,sP),u("p",{class:"heading",textContent:v(e.$t("page.artists.count",{count:o.artists.count}))},null,8,oP)]),"heading-right":T(()=>[]),content:T(()=>[C(c,{artists:o.artists},null,8,["artists"])]),_:1})])}const aP=ve(H5,[["render",iP]]),za={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 rt(t[1].data)}},lP={name:"PageArtist",components:{ContentWithHeading:ft,ListAlbums:yr,ModalDialogArtist:_u,DropdownMenu:gu},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{artist:{},albums_list:new rt,groupby_options:[{id:1,name:this.$t("page.artist.sort-by.name"),options:$o("name_sort")},{id:2,name:this.$t("page.artist.sort-by.release-date"),options:Dl("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(Iy,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)}}},uP={class:"columns"},cP={class:"column"},dP=["textContent"],mP=["textContent"],fP={class:"buttons is-centered"},pP={class:"icon"},hP={class:"icon"},_P=["textContent"],gP={class:"heading has-text-centered-mobile"},yP=["textContent"],vP=u("span",null," | ",-1),bP=["textContent"];function wP(e,t,n,r,s,o){const i=P("dropdown-menu"),a=P("mdicon"),l=P("list-albums"),c=P("modal-dialog-artist"),m=P("content-with-heading");return E(),xe(m,null,{options:T(()=>[u("div",uP,[u("div",cP,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.artist.sort-by.title"))},null,8,dP),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":T(()=>[u("p",{class:"title is-4",textContent:v(s.artist.name)},null,8,mP)]),"heading-right":T(()=>[u("div",fP,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>s.show_artist_details_modal=!0)},[u("span",pP,[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",hP,[C(a,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.artist.shuffle"))},null,8,_P)])])]),content:T(()=>[u("p",gP,[u("span",{textContent:v(e.$t("page.artist.album-count",{count:s.artist.album_count}))},null,8,yP),vP,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,bP)]),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 CP=ve(lP,[["render",wP]]),xa={load:function(e){return Z.library_albums("music")},set:function(e,t){e.albums_list=new rt(t.data)}},zP={name:"PageAlbums",components:{ContentWithHeading:ft,TabsMusic:gr,IndexButtonList:Pr,ListAlbums:yr,DropdownMenu:gu},beforeRouteEnter(e,t,n){xa.load(e).then(r=>{n(s=>xa.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums_list.isEmpty()){n();return}const r=this;xa.load(e).then(s=>{xa.set(r,s),n()})},data(){return{albums_list:new rt,groupby_options:[{id:1,name:this.$t("page.albums.sort-by.name"),options:$o("name_sort")},{id:2,name:this.$t("page.albums.sort-by.recently-added"),options:Dl("time_added",{direction:"desc",defaultValue:"0000"})},{id:3,name:this.$t("page.albums.sort-by.recently-released"),options:Dl("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(Ly,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(lu,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(Sm,e)}}},methods:{scrollToTop:function(){window.scrollTo({top:0,behavior:"smooth"})}}},xP={class:"fd-page-with-tabs"},kP={class:"columns"},SP={class:"column"},EP=["textContent"],$P={class:"field"},AP={class:"control"},OP=["textContent"],TP=["textContent"],PP={key:0,class:"field"},DP={class:"control"},FP=["textContent"],IP=["textContent"],LP={class:"column"},MP=["textContent"],RP=["textContent"],NP=["textContent"];function jP(e,t,n,r,s,o){const i=P("tabs-music"),a=P("index-button-list"),l=P("dropdown-menu"),c=P("list-albums"),m=P("content-with-heading");return E(),D("div",xP,[C(i),C(m,null,{options:T(()=>[C(a,{index:o.albums.indexList},null,8,["index"]),u("div",kP,[u("div",SP,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.albums.filter"))},null,8,EP),u("div",$P,[u("div",AP,[xt(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=f=>o.hide_singles=f),type:"checkbox",name:"switchHideSingles",class:"switch"},null,512),[[Sr,o.hide_singles]]),u("label",{for:"switchHideSingles",textContent:v(e.$t("page.albums.hide-singles"))},null,8,OP)]),u("p",{class:"help",textContent:v(e.$t("page.albums.hide-singles-help"))},null,8,TP)]),o.spotify_enabled?(E(),D("div",PP,[u("div",DP,[xt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=f=>o.hide_spotify=f),type:"checkbox",name:"switchHideSpotify",class:"switch"},null,512),[[Sr,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:v(e.$t("page.albums.hide-spotify"))},null,8,FP)]),u("p",{class:"help",textContent:v(e.$t("page.albums.hide-spotify-help"))},null,8,IP)])):Q("",!0)]),u("div",LP,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.albums.sort-by.title"))},null,8,MP),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":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.albums.title"))},null,8,RP),u("p",{class:"heading",textContent:v(e.$t("page.albums.count",{count:o.albums.count}))},null,8,NP)]),"heading-right":T(()=>[]),content:T(()=>[C(c,{albums:o.albums},null,8,["albums"])]),_:1})])}const VP=ve(zP,[["render",jP]]),BP={},HP={class:"hero is-light is-bold fd-content"},UP={class:"hero-body"},qP={class:"container"},WP={class:"columns is-centered"},GP={class:"column is-four-fifths"},KP={class:"columns",style:{"flex-direction":"row-reverse"}},ZP={class:"column fd-has-cover"},YP={class:"column is-three-fifths has-text-centered-mobile",style:{margin:"auto 0"}},JP={class:"section fd-content"},XP={class:"container"},QP={class:"columns is-centered"},eD={class:"column is-four-fifths"},tD={style:{"margin-top":"16px"}};function nD(e,t){return E(),D("div",null,[u("section",HP,[u("div",UP,[u("div",qP,[u("div",WP,[u("div",GP,[u("div",KP,[u("div",ZP,[zt(e.$slots,"heading-right")]),u("div",YP,[zt(e.$slots,"heading-left")])])])])])])]),u("section",JP,[u("div",XP,[u("div",QP,[u("div",eD,[zt(e.$slots,"content"),u("div",tD,[zt(e.$slots,"footer")])])])])])])}const Zm=ve(BP,[["render",nD]]),ka={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=t[1].data.items}},rD={name:"PageAlbum",components:{ContentWithHero:Zm,ListTracks:Rn,ModalDialogAlbum:hu,CoverArtwork:Tr},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{album:{},tracks:[],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)}}},sD=["textContent"],oD={class:"subtitle is-6 has-text-link has-text-weight-normal"},iD=["textContent"],aD={class:"buttons fd-is-centered-mobile fd-has-margin-top"},lD={class:"icon"},uD=["textContent"],cD={class:"icon"},dD={class:"image is-square fd-has-shadow fd-has-action"},mD=["textContent"];function fD(e,t,n,r,s,o){const i=P("mdicon"),a=P("cover-artwork"),l=P("list-tracks"),c=P("modal-dialog-album"),m=P("content-with-hero");return E(),xe(m,null,{"heading-left":T(()=>[u("h1",{class:"title is-5",textContent:v(s.album.name)},null,8,sD),u("h2",oD,[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,iD)]),u("div",aD,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[u("span",lD,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.album.shuffle"))},null,8,uD)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>s.show_album_details_modal=!0)},[u("span",cD,[C(i,{name:"dots-horizontal",size:"16"})])])])]),"heading-right":T(()=>[u("p",dD,[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:T(()=>[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,mD),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 pD=ve(rD,[["render",fD]]),hD={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}})}}},_D={key:0,class:"modal is-active"},gD={class:"modal-content fd-modal-card"},yD={class:"card"},vD={class:"card-content"},bD={class:"title is-4"},wD=["textContent"],CD={class:"content is-small"},zD=["textContent"],xD=["textContent"],kD=["textContent"],SD=["textContent"],ED=["textContent"],$D=["textContent"],AD={class:"card-footer"},OD={class:"icon"},TD=["textContent"],PD={class:"icon"},DD=["textContent"],FD={class:"icon"},ID=["textContent"];function LD(e,t,n,r,s,o){const i=P("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:T(()=>[n.show?(E(),D("div",_D,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",gD,[u("div",yD,[u("div",vD,[u("p",bD,[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,wD)]),u("div",CD,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.genre.albums"))},null,8,zD),u("span",{class:"title is-6",textContent:v(n.genre.album_count)},null,8,xD)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.genre.tracks"))},null,8,kD),u("span",{class:"title is-6",textContent:v(n.genre.track_count)},null,8,SD)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.genre.duration"))},null,8,ED),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.genre.length_ms))},null,8,$D)])])]),u("footer",AD,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",OD,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.genre.add"))},null,8,TD)]),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",PD,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.genre.add-next"))},null,8,DD)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[u("span",FD,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.genre.play"))},null,8,ID)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const Ym=ve(hD,[["render",LD]]),MD={name:"ListGenres",components:{ModalDialogGenre:Ym},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}}},RD={key:0,class:"mt-6 mb-5 py-2"},ND={class:"media-content is-clipped"},jD=["id","textContent"],VD=["onClick"],BD={class:"media-content fd-has-action is-clipped"},HD=["textContent"],UD={class:"media-right"},qD=["onClick"],WD={class:"icon has-text-dark"};function GD(e,t,n,r,s,o){const i=P("mdicon"),a=P("modal-dialog-genre");return E(),D(We,null,[(E(!0),D(We,null,wt(n.genres,l=>(E(),D(We,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(E(),D("div",RD,[u("div",ND,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:v(l.groupKey)},null,8,jD)])])):l.isItem?(E(),D("div",{key:1,class:"media",onClick:c=>o.open_genre(l.item)},[u("div",BD,[u("h1",{class:"title is-6",textContent:v(l.item.name)},null,8,HD)]),u("div",UD,[u("a",{onClick:ht(c=>o.open_dialog(l.item),["prevent","stop"])},[u("span",WD,[C(i,{name:"dots-vertical",size:"16"})])],8,qD)])],8,VD)):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 KD=ve(MD,[["render",GD]]),Sa={load:function(e){return Z.library_genres("music")},set:function(e,t){e.genres=t.data,e.genres=new rt(t.data),e.genres.group(d1("name_sort"))}},ZD={name:"PageGenres",components:{ContentWithHeading:ft,TabsMusic:gr,IndexButtonList:Pr,ListGenres:KD},beforeRouteEnter(e,t,n){Sa.load(e).then(r=>{n(s=>Sa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Sa.load(e).then(s=>{Sa.set(r,s),n()})},data(){return{genres:new rt}},computed:{},methods:{}},YD={class:"fd-page-with-tabs"},JD=["textContent"],XD=["textContent"];function QD(e,t,n,r,s,o){const i=P("tabs-music"),a=P("index-button-list"),l=P("list-genres"),c=P("content-with-heading");return E(),D("div",YD,[C(i),C(c,null,{options:T(()=>[C(a,{index:s.genres.indexList},null,8,["index"])]),"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.genres.title"))},null,8,JD),u("p",{class:"heading",textContent:v(e.$t("page.genres.count",{count:s.genres.total}))},null,8,XD)]),content:T(()=>[C(l,{genres:s.genres},null,8,["genres"])]),_:1})])}const eF=ve(ZD,[["render",QD]]),Ea={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 rt(t[1].data.albums),e.albums_list.group($o("name_sort"))}},tF={name:"PageGenre",components:{ContentWithHeading:ft,IndexButtonList:Pr,ListAlbums:yr,ModalDialogGenre:Ym},beforeRouteEnter(e,t,n){Ea.load(e).then(r=>{n(s=>Ea.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums_list.isEmpty()){n();return}const r=this;Ea.load(e).then(s=>{Ea.set(r,s),n()})},data(){return{genre:{},albums_list:new rt,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)}}},nF=["textContent"],rF={class:"buttons is-centered"},sF={class:"icon"},oF={class:"icon"},iF=["textContent"],aF={class:"heading has-text-centered-mobile"},lF=["textContent"],uF=u("span",null," | ",-1),cF=["textContent"];function dF(e,t,n,r,s,o){const i=P("index-button-list"),a=P("mdicon"),l=P("list-albums"),c=P("modal-dialog-genre"),m=P("content-with-heading");return E(),D("div",null,[C(m,null,{options:T(()=>[C(i,{index:s.albums_list.indexList},null,8,["index"])]),"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(s.genre.name)},null,8,nF)]),"heading-right":T(()=>[u("div",rF,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>s.show_genre_details_modal=!0)},[u("span",sF,[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",oF,[C(a,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.genre.shuffle"))},null,8,iF)])])]),content:T(()=>[u("p",aF,[u("span",{textContent:v(e.$t("page.genre.album-count",{count:s.genre.album_count}))},null,8,lF),uF,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,cF)]),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 mF=ve(tF,[["render",dF]]),$a={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=t[1].data.tracks}},fF={name:"PageGenreTracks",components:{ContentWithHeading:ft,ListTracks:Rn,IndexButtonList:Pr,ModalDialogGenre:Ym},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{tracks:{items:[]},genre:"",show_genre_details_modal:!1}},computed:{index_list(){return[...new Set(this.tracks.items.map(e=>e.title_sort.charAt(0).toUpperCase()))]},expression(){return'genre is "'+this.genre.name+'" and media_kind is music'}},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)}}},pF=["textContent"],hF={class:"buttons is-centered"},_F={class:"icon"},gF={class:"icon"},yF=["textContent"],vF={class:"heading has-text-centered-mobile"},bF=["textContent"],wF=u("span",null," | ",-1),CF=["textContent"];function zF(e,t,n,r,s,o){const i=P("index-button-list"),a=P("mdicon"),l=P("list-tracks"),c=P("modal-dialog-genre"),m=P("content-with-heading");return E(),D("div",null,[C(m,null,{options:T(()=>[C(i,{index:o.index_list},null,8,["index"])]),"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(s.genre.name)},null,8,pF)]),"heading-right":T(()=>[u("div",hF,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>s.show_genre_details_modal=!0)},[u("span",_F,[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",gF,[C(a,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.genre.shuffle"))},null,8,yF)])])]),content:T(()=>[u("p",vF,[u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...f)=>o.open_genre&&o.open_genre(...f)),textContent:v(e.$t("page.genre.album-count",{count:s.genre.album_count}))},null,8,bF),wF,u("span",{textContent:v(e.$t("page.genre.track-count",{count:s.genre.track_count}))},null,8,CF)]),C(l,{tracks:s.tracks.items,expression:o.expression},null,8,["tracks","expression"]),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 xF=ve(fF,[["render",zF]]),Aa={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=t[1].data.tracks}},kF={name:"PageArtistTracks",components:{ContentWithHeading:ft,ListTracks:Rn,IndexButtonList:Pr,ModalDialogArtist:_u},beforeRouteEnter(e,t,n){Aa.load(e).then(r=>{n(s=>Aa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Aa.load(e).then(s=>{Aa.set(r,s),n()})},data(){return{artist:{},tracks:{items:[]},show_artist_details_modal:!1}},computed:{index_list(){return[...new Set(this.tracks.items.map(e=>e.title_sort.charAt(0).toUpperCase()))]},track_uris(){return this.tracks.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.items.map(e=>e.uri).join(","),!0)}}},SF=["textContent"],EF={class:"buttons is-centered"},$F={class:"icon"},AF={class:"icon"},OF=["textContent"],TF={class:"heading has-text-centered-mobile"},PF=["textContent"],DF=u("span",null," | ",-1),FF=["textContent"];function IF(e,t,n,r,s,o){const i=P("index-button-list"),a=P("mdicon"),l=P("list-tracks"),c=P("modal-dialog-artist"),m=P("content-with-heading");return E(),D("div",null,[C(m,null,{options:T(()=>[C(i,{index:o.index_list},null,8,["index"])]),"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(s.artist.name)},null,8,SF)]),"heading-right":T(()=>[u("div",EF,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>s.show_artist_details_modal=!0)},[u("span",$F,[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",AF,[C(a,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.artist.shuffle"))},null,8,OF)])])]),content:T(()=>[u("p",TF,[u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...f)=>o.open_artist&&o.open_artist(...f)),textContent:v(e.$t("page.artist.album-count",{count:s.artist.album_count}))},null,8,PF),DF,u("span",{textContent:v(e.$t("page.artist.track-count",{count:s.artist.track_count}))},null,8,FF)]),C(l,{tracks:s.tracks.items,uris:o.track_uris},null,8,["tracks","uris"]),C(c,{show:s.show_artist_details_modal,artist:s.artist,onClose:t[3]||(t[3]=f=>s.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const LF=ve(kF,[["render",IF]]),MF={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}})}}},RF={key:0,class:"modal is-active"},NF={class:"modal-content fd-modal-card"},jF={class:"card"},VF={class:"card-content"},BF={class:"title is-4"},HF=["textContent"],UF=["textContent"],qF=["textContent"],WF=["textContent"],GF=["textContent"],KF=["textContent"],ZF=["textContent"],YF={class:"card-footer"},JF={class:"icon"},XF=["textContent"],QF={class:"icon"},eI=["textContent"],tI={class:"icon"},nI=["textContent"];function rI(e,t,n,r,s,o){const i=P("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:T(()=>[n.show?(E(),D("div",RF,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",NF,[u("div",jF,[u("div",VF,[u("p",BF,[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,HF)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.composer.albums"))},null,8,UF),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,qF)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.composer.tracks"))},null,8,WF),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,GF)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.composer.duration"))},null,8,KF),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.composer.length_ms))},null,8,ZF)])]),u("footer",YF,[u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",JF,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.composer.add"))},null,8,XF)]),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",QF,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.composer.add-next"))},null,8,eI)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>o.play&&o.play(...a))},[u("span",tI,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.composer.play"))},null,8,nI)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const Jm=ve(MF,[["render",rI]]),sI={name:"ListComposers",components:{ModalDialogComposer:Jm},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}}},oI={key:0,class:"mt-6 mb-5 py-2"},iI={class:"media-content is-clipped"},aI=["id","textContent"],lI=["onClick"],uI={class:"media-content fd-has-action is-clipped"},cI=["textContent"],dI={class:"media-right"},mI=["onClick"],fI={class:"icon has-text-dark"};function pI(e,t,n,r,s,o){const i=P("mdicon"),a=P("modal-dialog-composer");return E(),D(We,null,[(E(!0),D(We,null,wt(n.composers,l=>(E(),D(We,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(E(),D("div",oI,[u("div",iI,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:v(l.groupKey)},null,8,aI)])])):l.isItem?(E(),D("div",{key:1,class:"media",onClick:c=>o.open_composer(l.item)},[u("div",uI,[u("h1",{class:"title is-6",textContent:v(l.item.name)},null,8,cI)]),u("div",dI,[u("a",{onClick:ht(c=>o.open_dialog(l.item),["prevent","stop"])},[u("span",fI,[C(i,{name:"dots-vertical",size:"16"})])],8,mI)])],8,lI)):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 m1=ve(sI,[["render",pI]]),Oa={load:function(e){return Z.library_composers("music")},set:function(e,t){e.composers=new rt(t.data),e.composers.group(d1("name_sort"))}},hI={name:"PageComposers",components:{ContentWithHeading:ft,TabsMusic:gr,IndexButtonList:Pr,ListComposers:m1},beforeRouteEnter(e,t,n){Oa.load(e).then(r=>{n(s=>Oa.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.composers.isEmpty()){n();return}const r=this;Oa.load(e).then(s=>{Oa.set(r,s),n()})},data(){return{composers:new rt}},methods:{}},_I=["textContent"],gI=["textContent"];function yI(e,t,n,r,s,o){const i=P("tabs-music"),a=P("index-button-list"),l=P("list-composers"),c=P("content-with-heading");return E(),D("div",null,[C(i),C(c,null,{options:T(()=>[C(a,{index:s.composers.indexList},null,8,["index"])]),"heading-left":T(()=>[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,gI)]),content:T(()=>[C(l,{composers:s.composers},null,8,["composers"])]),_:1})])}const vI=ve(hI,[["render",yI]]),Ta={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 rt(t[1].data.albums)}},bI={name:"PageComposer",components:{ContentWithHeading:ft,ListAlbums:yr,ModalDialogComposer:Jm},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{composer:{},albums_list:new rt,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)}}},wI=["textContent"],CI={class:"buttons is-centered"},zI={class:"icon"},xI={class:"icon"},kI=["textContent"],SI={class:"heading has-text-centered-mobile"},EI=["textContent"],$I=u("span",null," | ",-1),AI=["textContent"];function OI(e,t,n,r,s,o){const i=P("mdicon"),a=P("list-albums"),l=P("modal-dialog-composer"),c=P("content-with-heading");return E(),D("div",null,[C(c,null,{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(s.composer.name)},null,8,wI)]),"heading-right":T(()=>[u("div",CI,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>s.show_composer_details_modal=!0)},[u("span",zI,[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",xI,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.composer.shuffle"))},null,8,kI)])])]),content:T(()=>[u("p",SI,[u("span",{textContent:v(e.$t("page.composer.album-count",{count:s.composer.album_count}))},null,8,EI),$I,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,AI)]),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 TI=ve(bI,[["render",OI]]),Pa={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=t[1].data.tracks}},PI={name:"PageComposerTracks",components:{ContentWithHeading:ft,ListTracks:Rn,ModalDialogComposer:Jm},beforeRouteEnter(e,t,n){Pa.load(e).then(r=>{n(s=>Pa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Pa.load(e).then(s=>{Pa.set(r,s),n()})},data(){return{tracks:{items:[]},composer:{},show_composer_details_modal:!1}},computed:{play_expression(){return'composer is "'+this.composer.name+'" and media_kind is music'}},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.play_expression,!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=P("mdicon"),a=P("list-tracks"),l=P("modal-dialog-composer"),c=P("content-with-heading");return E(),D("div",null,[C(c,null,{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(s.composer.name)},null,8,DI)]),"heading-right":T(()=>[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:T(()=>[u("p",RI,[u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...m)=>o.open_albums&&o.open_albums(...m)),textContent:v(e.$t("page.composer.album-count",{count:s.composer.album_count}))},null,8,NI),jI,u("span",{textContent:v(e.$t("page.composer.track-count",{count:s.composer.track_count}))},null,8,VI)]),C(a,{tracks:s.tracks.items,expression:o.play_expression},null,8,["tracks","expression"]),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]]),UI={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})}}},qI={key:0,class:"modal is-active"},WI={class:"modal-content fd-modal-card"},GI={class:"card"},KI={class:"card-content"},ZI=["textContent"],YI={class:"field"},JI={class:"control is-expanded has-icons-left"},XI=["placeholder","disabled"],QI={class:"icon is-left"},eL=["textContent"],tL={key:0,class:"card-footer"},nL={class:"card-footer-item button is-loading"},rL={class:"icon"},sL=["textContent"],oL={key:1,class:"card-footer"},iL={class:"icon"},aL=["textContent"],lL={class:"icon"},uL=["textContent"];function cL(e,t,n,r,s,o){const i=P("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:T(()=>[n.show?(E(),D("div",qI,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",WI,[u("div",GI,[u("div",KI,[u("p",{class:"title is-4",textContent:v(e.$t("dialog.add.rss.title"))},null,8,ZI),u("form",{onSubmit:t[2]||(t[2]=ht((...a)=>o.add_stream&&o.add_stream(...a),["prevent"]))},[u("div",YI,[u("p",JI,[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,XI),[[xn,s.url]]),u("span",QI,[C(i,{name:"rss",size:"16"})])]),u("p",{class:"help",textContent:v(e.$t("dialog.add.rss.help"))},null,8,eL)])],32)]),s.loading?(E(),D("footer",tL,[u("a",nL,[u("span",rL,[C(i,{name:"web",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.rss.processing"))},null,8,sL)])])):(E(),D("footer",oL,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[u("span",iL,[C(i,{name:"cancel",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.rss.cancel"))},null,8,aL)]),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",lL,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.rss.add"))},null,8,uL)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const dL=ve(UI,[["render",cL]]),Da={load:function(e){return Promise.all([Z.library_albums("podcast"),Z.library_podcasts_new_episodes()])},set:function(e,t){e.albums=new rt(t[0].data),e.new_episodes=t[1].data.tracks}},mL={name:"PagePodcasts",components:{ContentWithHeading:ft,ListTracks:Rn,ListAlbums:yr,ModalDialogAddRss:dL},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{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=e.tracks})},reload_podcasts:function(){Z.library_albums("podcast").then(({data:e})=>{this.albums=new rt(e),this.reload_new_episodes()})},update_rss:function(){this.$store.commit(Em,"rss"),this.$store.commit(Hi,!0)}}},fL=["textContent"],pL={class:"buttons is-centered"},hL={class:"icon"},_L=["textContent"],gL=["textContent"],yL=["textContent"],vL={class:"buttons is-centered"},bL={class:"icon"},wL=["textContent"],CL={class:"icon"},zL=["textContent"];function xL(e,t,n,r,s,o){const i=P("mdicon"),a=P("list-tracks"),l=P("content-with-heading"),c=P("list-albums"),m=P("modal-dialog-add-rss");return E(),D("div",null,[s.new_episodes.items.length>0?(E(),xe(l,{key:0},{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.podcasts.new-episodes"))},null,8,fL)]),"heading-right":T(()=>[u("div",pL,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=(...f)=>o.mark_all_played&&o.mark_all_played(...f))},[u("span",hL,[C(i,{name:"pencil",size:"16"})]),u("span",{textContent:v(e.$t("page.podcasts.mark-all-played"))},null,8,_L)])])]),content:T(()=>[C(a,{tracks:s.new_episodes.items,show_progress:!0,onPlayCountChanged:o.reload_new_episodes},null,8,["tracks","onPlayCountChanged"])]),_:1})):Q("",!0),C(l,null,{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.podcasts.title"))},null,8,gL),u("p",{class:"heading",textContent:v(e.$t("page.podcasts.count",{count:s.albums.total}))},null,8,yL)]),"heading-right":T(()=>[u("div",vL,[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",bL,[C(i,{name:"refresh",size:"16"})]),u("span",{textContent:v(e.$t("page.podcasts.update"))},null,8,wL)])):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",CL,[C(i,{name:"rss",size:"16"})]),u("span",{textContent:v(e.$t("page.podcasts.add"))},null,8,zL)])])]),content:T(()=>[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 kL=ve(mL,[["render",xL]]),Fa={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=t[1].data.tracks.items}},SL={name:"PagePodcast",components:{ContentWithHeading:ft,ListTracks:Rn,ModalDialogAlbum:hu,ModalDialog:Wm},beforeRouteEnter(e,t,n){Fa.load(e).then(r=>{n(s=>Fa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Fa.load(e).then(s=>{Fa.set(r,s),n()})},data(){return{album:{},tracks:[],show_album_details_modal:!1,show_remove_podcast_modal:!1,rss_playlist_to_remove:{}}},computed:{new_tracks(){return this.tracks.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=e.tracks.items})}}},EL=["textContent"],$L={class:"buttons is-centered"},AL={class:"icon"},OL={class:"icon"},TL=["textContent"],PL=["textContent"],DL=["textContent"],FL={class:"is-size-7"},IL=yt(" ("),LL=["textContent"],ML=["textContent"],RL=yt(") ");function NL(e,t,n,r,s,o){const i=P("mdicon"),a=P("list-tracks"),l=P("modal-dialog-album"),c=P("modal-dialog"),m=P("content-with-heading");return E(),xe(m,null,{"heading-left":T(()=>[u("div",{class:"title is-4",textContent:v(s.album.name)},null,8,EL)]),"heading-right":T(()=>[u("div",$L,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>s.show_album_details_modal=!0)},[u("span",AL,[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",OL,[C(i,{name:"play",size:"16"})]),u("span",{textContent:v(e.$t("page.podcast.play"))},null,8,TL)])])]),content:T(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.podcast.track-count",{count:s.album.track_count}))},null,8,PL),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":T(()=>[u("p",{textContent:v(e.$t("page.podcast.remove-info-1"))},null,8,DL),u("p",FL,[IL,u("span",{textContent:v(e.$t("page.podcast.remove-info-2"))},null,8,LL),u("b",{textContent:v(s.rss_playlist_to_remove.name)},null,8,ML),RL])]),_:1},8,["show","onDelete"])]),_:1})}const jL=ve(SL,[["render",NL]]),VL={name:"TabsAudiobooks"},BL={class:"section fd-tabs-section"},HL={class:"container"},UL={class:"columns is-centered"},qL={class:"column is-four-fifths"},WL={class:"tabs is-centered is-small"},GL=["onClick","onKeypress"],KL={class:"icon is-small"},ZL=["textContent"],YL=["onClick","onKeypress"],JL={class:"icon is-small"},XL=["textContent"];function QL(e,t,n,r,s,o){const i=P("mdicon"),a=P("router-link");return E(),D("section",BL,[u("div",HL,[u("div",UL,[u("div",qL,[u("div",WL,[u("ul",null,[C(a,{to:"/audiobooks/artists",custom:""},{default:T(({navigate:l,isActive:c})=>[u("li",{class:Ze({"is-active":c})},[u("a",{onClick:l,onKeypress:Pn(l,["enter"])},[u("span",KL,[C(i,{name:"account-music",size:"16"})]),u("span",{textContent:v(e.$t("page.audiobooks.tabs.authors"))},null,8,ZL)],40,GL)],2)]),_:1}),C(a,{to:"/audiobooks/albums",custom:""},{default:T(({navigate:l,isActive:c})=>[u("li",{class:Ze({"is-active":c})},[u("a",{onClick:l,onKeypress:Pn(l,["enter"])},[u("span",JL,[C(i,{name:"album",size:"16"})]),u("span",{textContent:v(e.$t("page.audiobooks.tabs.audiobooks"))},null,8,XL)],40,YL)],2)]),_:1})])])])])])])}const f1=ve(VL,[["render",QL]]),Ia={load:function(e){return Z.library_albums("audiobook")},set:function(e,t){e.albums=new rt(t.data),e.albums.group($o("name_sort"))}},eM={name:"PageAudiobooksAlbums",components:{TabsAudiobooks:f1,ContentWithHeading:ft,IndexButtonList:Pr,ListAlbums:yr},beforeRouteEnter(e,t,n){Ia.load(e).then(r=>{n(s=>Ia.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums.isEmpty()){n();return}const r=this;Ia.load(e).then(s=>{Ia.set(r,s),n()})},data(){return{albums:new rt}},methods:{}},tM={class:"fd-page-with-tabs"},nM=["textContent"],rM=["textContent"];function sM(e,t,n,r,s,o){const i=P("tabs-audiobooks"),a=P("index-button-list"),l=P("list-albums"),c=P("content-with-heading");return E(),D("div",tM,[C(i),C(c,null,{options:T(()=>[C(a,{index:s.albums.indexList},null,8,["index"])]),"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.audiobooks.albums.title"))},null,8,nM),u("p",{class:"heading",textContent:v(e.$t("page.audiobooks.albums.count",{count:s.albums.count}))},null,8,rM)]),content:T(()=>[C(l,{albums:s.albums},null,8,["albums"])]),_:1})])}const oM=ve(eM,[["render",sM]]),La={load:function(e){return Z.library_artists("audiobook")},set:function(e,t){e.artists_list=new rt(t.data)}},iM={name:"PageAudiobooksArtists",components:{ContentWithHeading:ft,TabsAudiobooks:f1,IndexButtonList:Pr,ListArtists:Km},beforeRouteEnter(e,t,n){La.load(e).then(r=>{n(s=>La.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.artists_list.isEmpty()){n();return}const r=this;La.load(e).then(s=>{La.set(r,s),n()})},data(){return{artists_list:new rt}},computed:{artists(){return this.artists_list?(this.artists_list.group($o("name_sort")),this.artists_list):[]}},methods:{}},aM={class:"fd-page-with-tabs"},lM=["textContent"],uM=["textContent"];function cM(e,t,n,r,s,o){const i=P("tabs-audiobooks"),a=P("index-button-list"),l=P("list-artists"),c=P("content-with-heading");return E(),D("div",aM,[C(i),C(c,null,{options:T(()=>[C(a,{index:o.artists.indexList},null,8,["index"])]),"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.audiobooks.artists.title"))},null,8,lM),u("p",{class:"heading",textContent:v(e.$t("page.audiobooks.artists.count",{count:o.artists.count}))},null,8,uM)]),"heading-right":T(()=>[]),content:T(()=>[C(l,{artists:o.artists},null,8,["artists"])]),_:1})])}const dM=ve(iM,[["render",cM]]),Ma={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 rt(t[1].data)}},mM={name:"PageAudiobooksArtist",components:{ContentWithHeading:ft,ListAlbums:yr,ModalDialogArtist:_u},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{artist:{},albums:new rt,show_artist_details_modal:!1}},methods:{play:function(){Z.player_play_uri(this.albums.items.map(e=>e.uri).join(","),!1)}}},fM=["textContent"],pM={class:"buttons is-centered"},hM={class:"icon"},_M={class:"icon"},gM=["textContent"],yM=["textContent"];function vM(e,t,n,r,s,o){const i=P("mdicon"),a=P("list-albums"),l=P("modal-dialog-artist"),c=P("content-with-heading");return E(),xe(c,null,{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(s.artist.name)},null,8,fM)]),"heading-right":T(()=>[u("div",pM,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>s.show_artist_details_modal=!0)},[u("span",hM,[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",_M,[C(i,{name:"play",size:"16"})]),u("span",{textContent:v(e.$t("page.audiobooks.artist.play"))},null,8,gM)])])]),content:T(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.audiobooks.artist.album-count",{count:s.artist.album_count}))},null,8,yM),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 bM=ve(mM,[["render",vM]]),Ra={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=t[1].data.items}},wM={name:"PageAudiobooksAlbum",components:{ContentWithHero:Zm,ListTracks:Rn,ModalDialogAlbum:hu,CoverArtwork:Tr},beforeRouteEnter(e,t,n){Ra.load(e).then(r=>{n(s=>Ra.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ra.load(e).then(s=>{Ra.set(r,s),n()})},data(){return{album:{},tracks:[],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}}},CM=["textContent"],zM={class:"subtitle is-6 has-text-link has-text-weight-normal"},xM=["textContent"],kM={class:"buttons fd-is-centered-mobile fd-has-margin-top"},SM={class:"icon"},EM=["textContent"],$M={class:"icon"},AM={class:"image is-square fd-has-shadow fd-has-action"},OM=["textContent"];function TM(e,t,n,r,s,o){const i=P("mdicon"),a=P("cover-artwork"),l=P("list-tracks"),c=P("modal-dialog-album"),m=P("content-with-hero");return E(),xe(m,null,{"heading-left":T(()=>[u("h1",{class:"title is-5",textContent:v(s.album.name)},null,8,CM),u("h2",zM,[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,xM)]),u("div",kM,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[u("span",SM,[C(i,{name:"play",size:"16"})]),u("span",{textContent:v(e.$t("page.audiobooks.album.play"))},null,8,EM)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>s.show_album_details_modal=!0)},[u("span",$M,[C(i,{name:"dots-horizontal",size:"16"})])])])]),"heading-right":T(()=>[u("p",AM,[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:T(()=>[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,OM),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 PM=ve(wM,[["render",TM]]),DM={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"})}}},FM={key:0,class:"modal is-active"},IM={class:"modal-content fd-modal-card"},LM={class:"card"},MM={class:"card-content"},RM={class:"title is-4"},NM=["textContent"],jM={class:"content is-small"},VM=u("span",{class:"heading"},"Path",-1),BM=["textContent"],HM=["textContent"],UM=["textContent"],qM={key:0},WM=["textContent"],GM=["textContent"],KM={key:0,class:"card-footer"},ZM={class:"icon"},YM=["textContent"],JM={class:"icon"},XM=["textContent"],QM={class:"icon"},e7=["textContent"];function t7(e,t,n,r,s,o){const i=P("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:T(()=>[n.show?(E(),D("div",FM,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",IM,[u("div",LM,[u("div",MM,[u("p",RM,[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,NM)]),u("div",jM,[u("p",null,[VM,u("span",{class:"title is-6",textContent:v(n.playlist.path)},null,8,BM)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.playlist.type"))},null,8,HM),u("span",{class:"title is-6",textContent:v(n.playlist.type)},null,8,UM)]),n.playlist.folder?Q("",!0):(E(),D("p",qM,[u("span",{class:"heading",textContent:v(e.$t("dialog.playlist.track-count"))},null,8,WM),u("span",{class:"title is-6",textContent:v(n.playlist.item_count)},null,8,GM)]))])]),n.playlist.folder?Q("",!0):(E(),D("footer",KM,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",ZM,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.add"))},null,8,YM)]),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",JM,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.add-next"))},null,8,XM)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[u("span",QM,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.play"))},null,8,e7)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const p1=ve(DM,[["render",t7]]),n7={name:"ListPlaylists",components:{ModalDialogPlaylist:p1},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"}}},r7=["playlist","onClick"],s7={class:"media-left fd-has-action"},o7={class:"icon"},i7={class:"media-content fd-has-action is-clipped"},a7=["textContent"],l7={class:"media-right"},u7=["onClick"],c7={class:"icon has-text-dark"};function d7(e,t,n,r,s,o){const i=P("mdicon"),a=P("modal-dialog-playlist");return E(),D(We,null,[(E(!0),D(We,null,wt(n.playlists,l=>(E(),D("div",{key:l.itemId,class:"media",playlist:l,onClick:c=>o.open_playlist(l.item)},[u("figure",s7,[u("span",o7,[C(i,{name:o.icon_name(l.item),size:"16"},null,8,["name"])])]),u("div",i7,[u("h1",{class:"title is-6",textContent:v(l.item.name)},null,8,a7)]),u("div",l7,[u("a",{onClick:ht(c=>o.open_dialog(l.item),["prevent","stop"])},[u("span",c7,[C(i,{name:"dots-vertical",size:"16"})])],8,u7)])],8,r7))),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 Xm=ve(n7,[["render",d7]]),Na={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 rt(t[1].data)}},m7={name:"PagePlaylists",components:{ContentWithHeading:ft,ListPlaylists:Xm},beforeRouteEnter(e,t,n){Na.load(e).then(r=>{n(s=>Na.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Na.load(e).then(s=>{Na.set(r,s),n()})},data(){return{playlist:{},playlists_list:new rt}},computed:{radio_playlists(){return this.$store.state.config.radio_playlists},playlists(){return this.playlists_list.group(c1(),[e=>e.folder||this.radio_playlists||e.stream_count===0||e.item_count>e.stream_count]),this.playlists_list}}},f7=["textContent"],p7=["textContent"];function h7(e,t,n,r,s,o){const i=P("list-playlists"),a=P("content-with-heading");return E(),xe(a,null,{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(s.playlist.name)},null,8,f7),u("p",{class:"heading",textContent:v(e.$t("page.playlists.count",{count:o.playlists.count}))},null,8,p7)]),content:T(()=>[C(i,{playlists:o.playlists},null,8,["playlists"])]),_:1})}const _7=ve(m7,[["render",h7]]),ja={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=t[1].data.items}},g7={name:"PagePlaylist",components:{ContentWithHeading:ft,ListTracks:Rn,ModalDialogPlaylist:p1},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{playlist:{},tracks:[],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)}}},y7=["textContent"],v7={class:"buttons is-centered"},b7={class:"icon"},w7={class:"icon"},C7=["textContent"],z7=["textContent"];function x7(e,t,n,r,s,o){const i=P("mdicon"),a=P("list-tracks"),l=P("modal-dialog-playlist"),c=P("content-with-heading");return E(),xe(c,null,{"heading-left":T(()=>[u("div",{class:"title is-4",textContent:v(s.playlist.name)},null,8,y7)]),"heading-right":T(()=>[u("div",v7,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>s.show_playlist_details_modal=!0)},[u("span",b7,[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",w7,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.playlist.shuffle"))},null,8,C7)])])]),content:T(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.playlist.length",{length:s.tracks.length}))},null,8,z7),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 k7=ve(g7,[["render",x7]]),S7={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')}}},E7={key:0,class:"modal is-active"},$7={class:"modal-content fd-modal-card"},A7={class:"card"},O7={class:"card-content"},T7=["textContent"],P7={class:"card-footer"},D7={class:"icon"},F7=["textContent"],I7={class:"icon"},L7=["textContent"],M7={class:"icon"},R7=["textContent"];function N7(e,t,n,r,s,o){const i=P("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:T(()=>[n.show?(E(),D("div",E7,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",$7,[u("div",A7,[u("div",O7,[u("p",{class:"title is-4",textContent:v(n.directory.path)},null,8,T7)]),u("footer",P7,[u("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",D7,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.directory.add"))},null,8,F7)]),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",I7,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.directory.add-next"))},null,8,L7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.play&&o.play(...a))},[u("span",M7,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.directory.play"))},null,8,R7)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const h1=ve(S7,[["render",N7]]),j7={name:"ListDirectories",components:{ModalDialogDirectory:h1},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}}},V7={class:"media-left fd-has-action"},B7={class:"icon"},H7=u("div",{class:"media-content fd-has-action is-clipped"},[u("h1",{class:"title is-6"},"..")],-1),U7={class:"media-right"},q7=["onClick"],W7={class:"media-left fd-has-action"},G7={class:"icon"},K7={class:"media-content fd-has-action is-clipped"},Z7=["textContent"],Y7=["textContent"],J7={class:"media-right"},X7=["onClick"],Q7={class:"icon has-text-dark"};function eR(e,t,n,r,s,o){const i=P("mdicon"),a=P("modal-dialog-directory");return E(),D(We,null,[e.$route.query.directory?(E(),D("div",{key:0,class:"media",onClick:t[0]||(t[0]=l=>o.open_parent_directory())},[u("figure",V7,[u("span",B7,[C(i,{name:"subdirectory-arrow-left",size:"16"})])]),H7,u("div",U7,[zt(e.$slots,"actions")])])):Q("",!0),(E(!0),D(We,null,wt(n.directories,l=>(E(),D("div",{key:l.path,class:"media",onClick:c=>o.open_directory(l)},[u("figure",W7,[u("span",G7,[C(i,{name:"folder",size:"16"})])]),u("div",K7,[u("h1",{class:"title is-6",textContent:v(l.path.substring(l.path.lastIndexOf("/")+1))},null,8,Z7),u("h2",{class:"subtitle is-7 has-text-grey-light",textContent:v(l.path)},null,8,Y7)]),u("div",J7,[u("a",{onClick:ht(c=>o.open_dialog(l),["prevent","stop"])},[u("span",Q7,[C(i,{name:"dots-vertical",size:"16"})])],8,X7)])],8,q7))),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 tR=ve(j7,[["render",eR]]),Va={load:function(e){return e.query.directory?Z.library_files(e.query.directory):Promise.resolve()},set:function(e,t){t?(e.files=t.data,e.playlists_list=new rt(t.data.playlists)):e.files={directories:e.$store.state.config.directories.map(n=>({path:n})),tracks:{items:[]},playlists:{items:[]}}}},nR={name:"PageFiles",components:{ContentWithHeading:ft,ListDirectories:tR,ListPlaylists:Xm,ListTracks:Rn,ModalDialogDirectory:h1},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{files:{directories:[],tracks:{items:[]},playlists:{items:[]}},playlists_list:new rt,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)}}},rR=["textContent"],sR=["textContent"],oR={class:"buttons is-centered"},iR={class:"icon"},aR={class:"icon"},lR=["textContent"];function uR(e,t,n,r,s,o){const i=P("mdicon"),a=P("list-directories"),l=P("list-playlists"),c=P("list-tracks"),m=P("modal-dialog-directory"),f=P("content-with-heading");return E(),D("div",null,[C(f,null,{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.files.title"))},null,8,rR),u("p",{class:"title is-7 has-text-grey",textContent:v(o.current_directory)},null,8,sR)]),"heading-right":T(()=>[u("div",oR,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_details_modal=!0)},[u("span",iR,[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",aR,[C(i,{name:"play",size:"16"})]),u("span",{textContent:v(e.$t("page.files.play"))},null,8,lR)])])]),content:T(()=>[C(a,{directories:s.files.directories},null,8,["directories"]),C(l,{playlists:s.playlists_list},null,8,["playlists"]),C(c,{tracks:s.files.tracks.items,expression:o.play_expression,show_icon:!0},null,8,["tracks","expression"]),C(m,{show:s.show_details_modal,directory:{path:o.current_directory},onClose:t[2]||(t[2]=d=>s.show_details_modal=!1)},null,8,["show","directory"])]),_:1})])}const cR=ve(nR,[["render",uR]]),Ba={load:function(e){return Z.library_radio_streams()},set:function(e,t){e.tracks=t.data.tracks}},dR={name:"PageRadioStreams",components:{ContentWithHeading:ft,ListTracks:Rn},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{tracks:{items:[]}}}},mR=["textContent"],fR=["textContent"];function pR(e,t,n,r,s,o){const i=P("list-tracks"),a=P("content-with-heading");return E(),D("div",null,[C(a,null,{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.radio.title"))},null,8,mR)]),content:T(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.radio.count",{count:s.tracks.total}))},null,8,fR),C(i,{tracks:s.tracks.items},null,8,["tracks"])]),_:1})])}const hR=ve(dR,[["render",pR]]),_R={name:"ContentText"},gR={class:"section fd-content py-3"},yR={class:"container"},vR={class:"columns is-centered"},bR={class:"column is-four-fifths"};function wR(e,t,n,r,s,o){return E(),D("section",gR,[u("div",yR,[u("div",vR,[u("div",bR,[zt(e.$slots,"content")])])])])}const _1=ve(_R,[["render",wR]]),CR={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(ad,"/search/library"),this.$router.push({path:this.$store.state.search_path,query:this.route_query})},search_spotify:function(){this.$store.commit(ad,"/search/spotify"),this.$router.push({path:this.$store.state.search_path,query:this.route_query})}}},zR={key:0,class:"section fd-remove-padding-bottom"},xR={class:"container"},kR={class:"columns is-centered"},SR={class:"column is-four-fifths"},ER={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},$R={class:"icon is-small"},AR=["textContent"],OR={class:"icon is-small"},TR=["textContent"];function PR(e,t,n,r,s,o){const i=P("mdicon");return o.spotify_enabled?(E(),D("section",zR,[u("div",xR,[u("div",kR,[u("div",SR,[u("div",ER,[u("ul",null,[u("li",{class:Ze({"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",$R,[C(i,{name:"bookshelf",size:"16"})]),u("span",{textContent:v(e.$t("page.search.tabs.library"))},null,8,AR)])],2),u("li",{class:Ze({"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",OR,[C(i,{name:"spotify",size:"16"})]),u("span",{textContent:v(e.$t("page.search.tabs.spotify"))},null,8,TR)])],2)])])])])])])):Q("",!0)}const g1=ve(CR,[["render",PR]]),DR={name:"PageSearch",components:{ContentWithHeading:ft,ContentText:_1,TabsSearch:g1,ListTracks:Rn,ListArtists:Km,ListAlbums:yr,ListPlaylists:Xm,ListComposers:m1},data(){return{search_query:"",tracks:{items:[],total:0},artists:new rt,albums:new rt,composers:new rt,playlists:new rt,audiobooks:new rt,podcasts:new rt}},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(km,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=n.tracks?n.tracks:{items:[],total:0},this.artists=new rt(n.artists),this.albums=new rt(n.albums),this.composers=new rt(n.composers),this.playlists=new rt(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 rt(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 rt(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}}},FR={class:"section fd-remove-padding-bottom"},IR={class:"container"},LR={class:"columns is-centered"},MR={class:"column is-four-fifths"},RR={class:"field"},NR={class:"control is-expanded has-icons-left"},jR={class:"icon is-left"},VR={class:"help has-text-centered"},BR=["innerHTML"],HR={class:"tags",style:{"margin-top":"16px"}},UR=["onClick","textContent"],qR=["textContent"],WR={key:0,class:"level"},GR={class:"level-item"},KR=["textContent"],ZR=["textContent"],YR=["textContent"],JR={key:0,class:"level"},XR={class:"level-item"},QR=["textContent"],e9=["textContent"],t9=["textContent"],n9={key:0,class:"level"},r9={class:"level-item"},s9=["textContent"],o9=["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"];function S9(e,t,n,r,s,o){const i=P("mdicon"),a=P("tabs-search"),l=P("list-tracks"),c=P("content-with-heading"),m=P("content-text"),f=P("list-artists"),d=P("list-albums"),p=P("list-composers"),h=P("list-playlists");return E(),D("div",null,[u("section",FR,[u("div",IR,[u("div",LR,[u("div",MR,[u("form",{onSubmit:t[1]||(t[1]=ht((..._)=>o.new_search&&o.new_search(..._),["prevent"]))},[u("div",RR,[u("p",NR,[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",jR,[C(i,{name:"magnify",size:"16"})])]),u("p",VR,[u("span",{innerHTML:e.$t("page.search.help")},null,8,BR)])])],32),u("div",HR,[(E(!0),D(We,null,wt(o.recent_searches,_=>(E(),D("a",{key:_,class:"tag",onClick:g=>o.open_recent_search(_),textContent:v(_)},null,8,UR))),128))])])])])]),C(a,{query:s.search_query},null,8,["query"]),o.show_tracks&&s.tracks.total?(E(),xe(c,{key:0},{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.tracks"))},null,8,qR)]),content:T(()=>[C(l,{tracks:s.tracks.items},null,8,["tracks"])]),footer:T(()=>[o.show_all_tracks_button?(E(),D("nav",WR,[u("p",GR,[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,KR)])])):Q("",!0)]),_:1})):Q("",!0),o.show_tracks&&!s.tracks.total?(E(),xe(m,{key:1,class:"mt-6"},{content:T(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-tracks"))},null,8,ZR)])]),_:1})):Q("",!0),o.show_artists&&s.artists.total?(E(),xe(c,{key:2},{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.artists"))},null,8,YR)]),content:T(()=>[C(f,{artists:s.artists,hide_group_title:!0},null,8,["artists"])]),footer:T(()=>[o.show_all_artists_button?(E(),D("nav",JR,[u("p",XR,[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,QR)])])):Q("",!0)]),_:1})):Q("",!0),o.show_artists&&!s.artists.total?(E(),xe(m,{key:3},{content:T(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-artists"))},null,8,e9)])]),_:1})):Q("",!0),o.show_albums&&s.albums.total?(E(),xe(c,{key:4},{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.albums"))},null,8,t9)]),content:T(()=>[C(d,{albums:s.albums,hide_group_title:!0},null,8,["albums"])]),footer:T(()=>[o.show_all_albums_button?(E(),D("nav",n9,[u("p",r9,[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,s9)])])):Q("",!0)]),_:1})):Q("",!0),o.show_albums&&!s.albums.total?(E(),xe(m,{key:5},{content:T(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-albums"))},null,8,o9)])]),_:1})):Q("",!0),o.show_composers&&s.composers.total?(E(),xe(c,{key:6},{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.composers"))},null,8,i9)]),content:T(()=>[C(p,{composers:s.composers},null,8,["composers"])]),footer:T(()=>[o.show_all_composers_button?(E(),D("nav",a9,[u("p",l9,[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,u9)])])):Q("",!0)]),_:1})):Q("",!0),o.show_composers&&!s.composers.total?(E(),xe(m,{key:7},{content:T(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-composers"))},null,8,c9)])]),_:1})):Q("",!0),o.show_playlists&&s.playlists.total?(E(),xe(c,{key:8},{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.playlists"))},null,8,d9)]),content:T(()=>[C(h,{playlists:s.playlists},null,8,["playlists"])]),footer:T(()=>[o.show_all_playlists_button?(E(),D("nav",m9,[u("p",f9,[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,p9)])])):Q("",!0)]),_:1})):Q("",!0),o.show_playlists&&!s.playlists.total?(E(),xe(m,{key:9},{content:T(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-playlists"))},null,8,h9)])]),_:1})):Q("",!0),o.show_podcasts&&s.podcasts.total?(E(),xe(c,{key:10},{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.podcasts"))},null,8,_9)]),content:T(()=>[C(d,{albums:s.podcasts},null,8,["albums"])]),footer:T(()=>[o.show_all_podcasts_button?(E(),D("nav",g9,[u("p",y9,[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,v9)])])):Q("",!0)]),_:1})):Q("",!0),o.show_podcasts&&!s.podcasts.total?(E(),xe(m,{key:11},{content:T(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-podcasts"))},null,8,b9)])]),_:1})):Q("",!0),o.show_audiobooks&&s.audiobooks.total?(E(),xe(c,{key:12},{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.audiobooks"))},null,8,w9)]),content:T(()=>[C(d,{albums:s.audiobooks},null,8,["albums"])]),footer:T(()=>[o.show_all_audiobooks_button?(E(),D("nav",C9,[u("p",z9,[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,x9)])])):Q("",!0)]),_:1})):Q("",!0),o.show_audiobooks&&!s.audiobooks.total?(E(),xe(m,{key:13},{content:T(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-audiobooks"))},null,8,k9)])]),_:1})):Q("",!0)])}const E9=ve(DR,[["render",S9]]),$9={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(Hi,!0)}}},A9={class:"section"},O9={class:"container"},T9={class:"columns is-centered"},P9={class:"column is-four-fifths has-text-centered-mobile"},D9=["textContent"],F9={class:"section"},I9={class:"container"},L9={class:"columns is-centered"},M9={class:"column is-four-fifths"},R9={class:"content"},N9={class:"level is-mobile"},j9={class:"level-left"},V9={class:"level-item"},B9=["textContent"],H9={class:"level-right"},U9={key:0},q9=["textContent"],W9={key:1},G9=["textContent"],K9={class:"table"},Z9=["textContent"],Y9=["textContent"],J9=["textContent"],X9=["textContent"],Q9=["textContent"],eN=["textContent"],tN=["textContent"],nN=["textContent"],rN=["textContent"],sN={class:"has-text-right"},oN=["textContent"],iN=yt(" ("),aN=["textContent"],lN=yt(") "),uN=["textContent"],cN={class:"has-text-right"},dN=["textContent"],mN=yt(" ("),fN=["textContent"],pN=yt(") "),hN={class:"section"},_N={class:"container"},gN={class:"columns is-centered"},yN={class:"column is-four-fifths"},vN={class:"content has-text-centered-mobile"},bN=["textContent"],wN=["textContent"],CN=["innerHTML"];function zN(e,t,n,r,s,o){return E(),D("div",null,[u("section",A9,[u("div",O9,[u("div",T9,[u("div",P9,[u("h1",{class:"title is-4",textContent:v(o.config.library_name)},null,8,D9)])])])]),u("section",F9,[u("div",I9,[u("div",L9,[u("div",M9,[u("div",R9,[u("nav",N9,[u("div",j9,[u("div",V9,[u("h2",{class:"title is-5",textContent:v(e.$t("page.about.library"))},null,8,B9)])]),u("div",H9,[o.library.updating?(E(),D("div",U9,[u("a",{class:"button is-small is-loading",textContent:v(e.$t("page.about.update"))},null,8,q9)])):(E(),D("div",W9,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=i=>o.showUpdateDialog()),textContent:v(e.$t("page.about.update"))},null,8,G9)]))])]),u("table",K9,[u("tbody",null,[u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.artists"))},null,8,Z9),u("td",{class:"has-text-right",textContent:v(e.$filters.number(o.library.artists))},null,8,Y9)]),u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.albums"))},null,8,J9),u("td",{class:"has-text-right",textContent:v(e.$filters.number(o.library.albums))},null,8,X9)]),u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.tracks"))},null,8,Q9),u("td",{class:"has-text-right",textContent:v(e.$filters.number(o.library.songs))},null,8,eN)]),u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.total-playtime"))},null,8,tN),u("td",{class:"has-text-right",textContent:v(e.$filters.durationInDays(o.library.db_playtime*1e3))},null,8,nN)]),u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.updated"))},null,8,rN),u("td",sN,[u("span",{textContent:v(e.$t("page.about.updated-on",{time:e.$filters.timeFromNow(o.library.updated_at)}))},null,8,oN),iN,u("span",{class:"has-text-grey",textContent:v(e.$filters.datetime(o.library.updated_at))},null,8,aN),lN])]),u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.uptime"))},null,8,uN),u("td",cN,[u("span",{textContent:v(e.$filters.timeFromNow(o.library.started_at,!0))},null,8,dN),mN,u("span",{class:"has-text-grey",textContent:v(e.$filters.datetime(o.library.started_at))},null,8,fN),pN])])])])])])])])]),u("section",hN,[u("div",_N,[u("div",gN,[u("div",yN,[u("div",vN,[u("p",{class:"is-size-7",textContent:v(e.$t("page.about.version",{version:o.config.version}))},null,8,bN),u("p",{class:"is-size-7",textContent:v(e.$t("page.about.compiled-with",{options:o.config.buildoptions.join(", ")}))},null,8,wN),u("p",{class:"is-size-7",innerHTML:e.$t("page.about.built-with")},null,8,CN)])])])])])])}const xN=ve($9,[["render",zN]]),kN={name:"SpotifyListItemAlbum",props:["album"]},SN={class:"media"},EN={key:0,class:"media-left fd-has-action"},$N={class:"media-content fd-has-action is-clipped"},AN=["textContent"],ON={class:"subtitle is-7 has-text-grey"},TN=["textContent"],PN=["textContent"],DN={class:"media-right"};function FN(e,t,n,r,s,o){return E(),D("div",SN,[e.$slots.artwork?(E(),D("div",EN,[zt(e.$slots,"artwork")])):Q("",!0),u("div",$N,[u("h1",{class:"title is-6",textContent:v(n.album.name)},null,8,AN),u("h2",ON,[u("b",{textContent:v(n.album.artists[0].name)},null,8,TN)]),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,PN)]),u("div",DN,[zt(e.$slots,"actions")])])}const yu=ve(kN,[["render",FN]]),IN={name:"SpotifyListItemPlaylist",props:["playlist"],methods:{open_playlist:function(){this.$router.push({path:"/music/spotify/playlists/"+this.playlist.id})}}},LN={class:"media"},MN=["textContent"],RN=["textContent"],NN={class:"media-right"};function jN(e,t,n,r,s,o){return E(),D("div",LN,[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,MN),u("h2",{class:"subtitle is-7",textContent:v(n.playlist.owner.display_name)},null,8,RN)]),u("div",NN,[zt(e.$slots,"actions")])])}const Qm=ve(IN,[["render",jN]]),VN={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}}},BN={key:0,class:"modal is-active"},HN={class:"modal-content fd-modal-card"},UN={class:"card"},qN={class:"card-content"},WN={class:"image is-square fd-has-margin-bottom"},GN=["src"],KN={class:"title is-4"},ZN=["textContent"],YN={class:"content is-small"},JN=["textContent"],XN=["textContent"],QN=["textContent"],ej=["textContent"],tj=["textContent"],nj=["textContent"],rj={class:"card-footer"},sj={class:"icon"},oj=["textContent"],ij={class:"icon"},aj=["textContent"],lj={class:"icon"},uj=["textContent"];function cj(e,t,n,r,s,o){const i=P("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:T(()=>[n.show?(E(),D("div",BN,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",HN,[u("div",UN,[u("div",qN,[xt(u("figure",WN,[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,GN)],512),[[ho,s.artwork_visible]]),u("p",KN,[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,ZN)]),u("div",YN,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.album.album-artist"))},null,8,JN),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,XN)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.album.release-date"))},null,8,QN),u("span",{class:"title is-6",textContent:v(e.$filters.date(n.album.release_date))},null,8,ej)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.album.type"))},null,8,tj),u("span",{class:"title is-6",textContent:v(n.album.album_type)},null,8,nj)])])]),u("footer",rj,[u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",sj,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.album.add"))},null,8,oj)]),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",ij,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.album.add-next"))},null,8,aj)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...a)=>o.play&&o.play(...a))},[u("span",lj,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.album.play"))},null,8,uj)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const Wi=ve(VN,[["render",cj]]),dj={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})}}},mj={key:0,class:"modal is-active"},fj={class:"modal-content fd-modal-card"},pj={class:"card"},hj={class:"card-content"},_j={class:"title is-4"},gj=["textContent"],yj={class:"content is-small"},vj=["textContent"],bj=["textContent"],wj=["textContent"],Cj=["textContent"],zj=["textContent"],xj=["textContent"],kj={class:"card-footer"},Sj={class:"icon"},Ej=["textContent"],$j={class:"icon"},Aj=["textContent"],Oj={class:"icon"},Tj=["textContent"];function Pj(e,t,n,r,s,o){const i=P("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:T(()=>[n.show?(E(),D("div",mj,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",fj,[u("div",pj,[u("div",hj,[u("p",_j,[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,gj)]),u("div",yj,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.playlist.owner"))},null,8,vj),u("span",{class:"title is-6",textContent:v(n.playlist.owner.display_name)},null,8,bj)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.playlist.tracks"))},null,8,wj),u("span",{class:"title is-6",textContent:v(n.playlist.tracks.total)},null,8,Cj)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.playlist.path"))},null,8,zj),u("span",{class:"title is-6",textContent:v(n.playlist.uri)},null,8,xj)])])]),u("footer",kj,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",Sj,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.playlist.add"))},null,8,Ej)]),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",$j,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.playlist.add-next"))},null,8,Aj)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[u("span",Oj,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.playlist.play"))},null,8,Tj)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const vu=ve(dj,[["render",Pj]]),Ha={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(zm,t[0].albums.items),it.commit(xm,t[1].playlists.items))}},Dj={name:"SpotifyPageBrowse",components:{ContentWithHeading:ft,TabsMusic:gr,SpotifyListItemAlbum:yu,SpotifyListItemPlaylist:Qm,SpotifyModalDialogAlbum:Wi,SpotifyModalDialogPlaylist:vu,CoverArtwork:Tr},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{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:""}}},Fj={class:"fd-page-with-tabs"},Ij=["textContent"],Lj={class:"image is-64x64 fd-has-shadow fd-has-action"},Mj=["onClick"],Rj={class:"icon has-text-dark"},Nj={class:"level"},jj={class:"level-item"},Vj=["textContent"],Bj=["onClick"],Hj={class:"icon has-text-dark"},Uj={class:"level"},qj={class:"level-item"};function Wj(e,t,n,r,s,o){const i=P("tabs-music"),a=P("cover-artwork"),l=P("mdicon"),c=P("spotify-list-item-album"),m=P("spotify-modal-dialog-album"),f=P("router-link"),d=P("content-with-heading"),p=P("spotify-list-item-playlist"),h=P("spotify-modal-dialog-playlist");return E(),D("div",Fj,[C(i),C(d,null,{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.browse.new-releases"))},null,8,Ij)]),content:T(()=>[(E(!0),D(We,null,wt(o.new_releases,_=>(E(),xe(c,{key:_.id,album:_,onClick:g=>o.open_album(_)},ji({actions:T(()=>[u("a",{onClick:ht(g=>o.open_album_dialog(_),["prevent","stop"])},[u("span",Rj,[C(l,{name:"dots-vertical",size:"16"})])],8,Mj)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:T(()=>[u("p",Lj,[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:T(()=>[u("nav",Nj,[u("p",jj,[C(f,{to:"/music/spotify/new-releases",class:"button is-light is-small is-rounded"},{default:T(()=>[yt(v(e.$t("page.spotify.browse.show-more")),1)]),_:1})])])]),_:1}),C(d,null,{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.browse.featured-playlists"))},null,8,Vj)]),content:T(()=>[(E(!0),D(We,null,wt(o.featured_playlists,_=>(E(),xe(p,{key:_.id,playlist:_},{actions:T(()=>[u("a",{onClick:ht(g=>o.open_playlist_dialog(_),["prevent","stop"])},[u("span",Hj,[C(l,{name:"dots-vertical",size:"16"})])],8,Bj)]),_: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:T(()=>[u("nav",Uj,[u("p",qj,[C(f,{to:"/music/spotify/featured-playlists",class:"button is-light is-small is-rounded"},{default:T(()=>[yt(v(e.$t("page.spotify.browse.show-more")),1)]),_:1})])])]),_:1})])}const Gj=ve(Dj,[["render",Wj]]),Ua={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(zm,t.albums.items)}},Kj={name:"SpotifyPageBrowseNewReleases",components:{ContentWithHeading:ft,TabsMusic:gr,SpotifyListItemAlbum:yu,SpotifyModalDialogAlbum:Wi,CoverArtwork:Tr},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{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:""}}},Zj={class:"fd-page-with-tabs"},Yj=u("p",{class:"title is-4"},"New Releases",-1),Jj={class:"image is-64x64 fd-has-shadow fd-has-action"},Xj=["onClick"],Qj={class:"icon has-text-dark"};function eV(e,t,n,r,s,o){const i=P("tabs-music"),a=P("cover-artwork"),l=P("mdicon"),c=P("spotify-list-item-album"),m=P("spotify-modal-dialog-album"),f=P("content-with-heading");return E(),D("div",Zj,[C(i),C(f,null,{"heading-left":T(()=>[Yj]),content:T(()=>[(E(!0),D(We,null,wt(o.new_releases,d=>(E(),xe(c,{key:d.id,album:d,onClick:p=>o.open_album(d)},ji({actions:T(()=>[u("a",{onClick:ht(p=>o.open_album_dialog(d),["prevent","stop"])},[u("span",Qj,[C(l,{name:"dots-vertical",size:"16"})])],8,Xj)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:T(()=>[u("p",Jj,[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 tV=ve(Kj,[["render",eV]]),qa={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(xm,t.playlists.items)}},nV={name:"SpotifyPageBrowseFeaturedPlaylists",components:{ContentWithHeading:ft,TabsMusic:gr,SpotifyListItemPlaylist:Qm,SpotifyModalDialogPlaylist:vu},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_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}}},rV={class:"fd-page-with-tabs"},sV=u("p",{class:"title is-4"},"Featured Playlists",-1),oV=["onClick"],iV={class:"icon has-text-dark"};function aV(e,t,n,r,s,o){const i=P("tabs-music"),a=P("mdicon"),l=P("spotify-list-item-playlist"),c=P("spotify-modal-dialog-playlist"),m=P("content-with-heading");return E(),D("div",rV,[C(i),C(m,null,{"heading-left":T(()=>[sV]),content:T(()=>[(E(!0),D(We,null,wt(o.featured_playlists,f=>(E(),xe(l,{key:f.id,playlist:f},{actions:T(()=>[u("a",{onClick:ht(d=>o.open_playlist_dialog(f),["prevent","stop"])},[u("span",iV,[C(a,{name:"dots-vertical",size:"16"})])],8,oV)]),_: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 lV=ve(nV,[["render",aV]]),uV={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})}}},cV={key:0,class:"modal is-active"},dV={class:"modal-content fd-modal-card"},mV={class:"card"},fV={class:"card-content"},pV={class:"title is-4"},hV=["textContent"],_V={class:"content is-small"},gV=["textContent"],yV=["textContent"],vV=["textContent"],bV=["textContent"],wV={class:"card-footer"},CV={class:"icon"},zV=["textContent"],xV={class:"icon"},kV=["textContent"],SV={class:"icon"},EV=["textContent"];function $V(e,t,n,r,s,o){const i=P("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:T(()=>[n.show?(E(),D("div",cV,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",dV,[u("div",mV,[u("div",fV,[u("p",pV,[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,hV)]),u("div",_V,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.artist.popularity"))},null,8,gV),u("span",{class:"title is-6",textContent:v([n.artist.popularity,n.artist.followers.total].join(" / "))},null,8,yV)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.artist.genres"))},null,8,vV),u("span",{class:"title is-6",textContent:v(n.artist.genres.join(", "))},null,8,bV)])])]),u("footer",wV,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",CV,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.artist.add"))},null,8,zV)]),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",xV,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.artist.add-next"))},null,8,kV)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[u("span",SV,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.artist.play"))},null,8,EV)])])])]),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(uV,[["render",$V]]);var Pi={},AV={get exports(){return Pi},set exports(e){Pi=e}};/*!
|
||
*
|
||
* @ts-pro/vue-eternal-loading v1.1.1
|
||
* (c) 2021 Oleksandr Havrashenko
|
||
* MIT License
|
||
*
|
||
*/(function(e,t){(function(n,r){e.exports=r(Rm)})(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,O=p.global,j=p.stat;if(g=O?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(O?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,O=arguments.length,j=O>1?arguments[1]:void 0,F=j!==void 0,A=d(z),M=0;if(F&&(j=i(j,O>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),O=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 O.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,O=!!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?!O&&_[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},O=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):O();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",O="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 O:return function(){return new M(this,U)}}return function(){return new M(this)}},Me=A+" Iterator",Be=!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&&(Be=!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(O)},B)for(ue in J)(w||Be||!(ue in he))&&d(he,ue,J[ue]);else i({target:A,proto:!0,forced:w||Be},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(O){var f,d,p,h=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,_=/@([^@]*):(\d+):(\d+)\s*$/gi,g=h.exec(O.stack)||_.exec(O.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"),O=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"),Be=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",je=Be("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,Re=m&&p(function(){return O(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,qe=function(re,de){var te=Ce[re]=O($[be]);return Ie(te,{type:se,tag:re,description:de}),m||(te.description=de),te},et=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=O(te,{enumerable:S(0,!1)})):(h(re,ie)||le(re,ie,S(1,{})),re[ie][ae]=!0),Re(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(Ne){m&&!K.call(te,Ne)||k(re,Ne,te[Ne])}),re},L=function(re,de){return de===void 0?O(re):y(O(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 Ne=Y(te,ae);return!Ne||!h(Ce,ae)||h(te,ie)&&te[ie][ae]||(Ne.enumerable=!0),Ne}},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(Ne){!h(Ce,Ne)||de&&!h(Ae,Ne)||ae.push(Ce[Ne])}),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),Re(this,de,S(1,ae))};return m&&De&&Re(Ae,de,{configurable:!0,set:te}),qe(de,re)},oe($[be],"toString",function(){return Ee(this).tag}),oe($,"withoutSetter",function(re){return qe(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 qe(Be(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(!et(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,Ne=[re],He=1;arguments.length>He;)Ne.push(arguments[He++]);if(ae=de,(g(de)||re!==void 0)&&!et(re))return _(de)||(de=function(ut,hn){if(typeof ae=="function"&&(hn=ae.call(this,ut,hn)),!et(hn))return hn}),Ne[1]=de,R.apply(null,Ne)}})}$[be][je]||B($[be],je,$[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,O,j,F){for(var A,M,W=l(S),I=a(W),H=i(O,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 O=w?S.slice(7,-1):S.replace(x,"$1");return O===""?void 0:O}}),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(Be){Me=!0,J=Be}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 O(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 Be(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 je(){return new IntersectionObserver(function(Ie){var Ee=S(Ie,1),Ae=Ee[0];if(Ae.isIntersecting){var $;if(I.position==="top")ge=O(($=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:Be,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=je(),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,O,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(O=new(S===void 0?Array:S)(w(W-M,0)),j=0;M<W;M++,j++)M in F&&d(O,j,F[M]);return O.length=j,O}})},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"}})})})(AV);const $d=50,Wa={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:$d,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])}},OV={name:"SpotifyPageArtist",components:{ContentWithHeading:ft,SpotifyListItemAlbum:yu,SpotifyModalDialogAlbum:Wi,SpotifyModalDialogArtist:y1,VueEternalLoading:Pi.VueEternalLoading,CoverArtwork:Tr},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{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:$d,offset:this.offset,include_groups:"album,single"}).then(n=>{this.append_albums(n),e(n.items.length,$d)})},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:""}}},TV=["textContent"],PV={class:"buttons is-centered"},DV={class:"icon"},FV={class:"icon"},IV=["textContent"],LV=["textContent"],MV={class:"image is-64x64 fd-has-shadow fd-has-action"},RV=["onClick"],NV={class:"icon has-text-dark"},jV=yt(" . ");function VV(e,t,n,r,s,o){const i=P("mdicon"),a=P("cover-artwork"),l=P("spotify-list-item-album"),c=P("VueEternalLoading"),m=P("spotify-modal-dialog-album"),f=P("spotify-modal-dialog-artist"),d=P("content-with-heading");return E(),xe(d,null,{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(s.artist.name)},null,8,TV)]),"heading-right":T(()=>[u("div",PV,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=p=>s.show_artist_details_modal=!0)},[u("span",DV,[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",FV,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.spotify.artist.shuffle"))},null,8,IV)])])]),content:T(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.spotify.artist.album-count",{count:s.total}))},null,8,LV),(E(!0),D(We,null,wt(s.albums,p=>(E(),xe(l,{key:p.id,album:p,onClick:h=>o.open_album(p)},ji({actions:T(()=>[u("a",{onClick:ht(h=>o.open_dialog(p),["prevent","stop"])},[u("span",NV,[C(i,{name:"dots-vertical",size:"16"})])],8,RV)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:T(()=>[u("p",MV,[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":T(()=>[jV]),_: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 BV=ve(OV,[["render",VV]]),HV={name:"SpotifyListItemTrack",props:["track","position","album","context_uri"],methods:{play:function(){Z.player_play_uri(this.context_uri,!1,this.position)}}},UV={class:"media"},qV=["textContent"],WV=["textContent"],GV={key:0,class:"subtitle is-7"},KV=yt(" ("),ZV=["textContent"],YV=["textContent"],JV=yt(") "),XV={class:"media-right"};function QV(e,t,n,r,s,o){return E(),D("div",UV,[u("div",{class:"media-content fd-has-action is-clipped",onClick:t[0]||(t[0]=(...i)=>o.play&&o.play(...i))},[u("h1",{class:Ze(["title is-6",{"has-text-grey-light":n.track.is_playable===!1}]),textContent:v(n.track.name)},null,10,qV),u("h2",{class:Ze(["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,WV)],2),n.track.is_playable===!1?(E(),D("h2",GV,[KV,u("span",{textContent:v(e.$t("list.spotify.not-playable-track"))},null,8,ZV),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,YV)):Q("",!0),JV])):Q("",!0)]),u("div",XV,[zt(e.$slots,"actions")])])}const ef=ve(HV,[["render",QV]]),eB={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})}}},tB={key:0,class:"modal is-active"},nB={class:"modal-content fd-modal-card"},rB={class:"card"},sB={class:"card-content"},oB=["textContent"],iB=["textContent"],aB={class:"content is-small"},lB=["textContent"],uB=["textContent"],cB=["textContent"],dB=["textContent"],mB=["textContent"],fB=["textContent"],pB=["textContent"],hB=["textContent"],_B=["textContent"],gB=["textContent"],yB=["textContent"],vB=["textContent"],bB={class:"card-footer"},wB={class:"icon"},CB=["textContent"],zB={class:"icon"},xB=["textContent"],kB={class:"icon"},SB=["textContent"];function EB(e,t,n,r,s,o){const i=P("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:T(()=>[n.show?(E(),D("div",tB,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",nB,[u("div",rB,[u("div",sB,[u("p",{class:"title is-4",textContent:v(n.track.name)},null,8,oB),u("p",{class:"subtitle",textContent:v(n.track.artists[0].name)},null,8,iB),u("div",aB,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.album"))},null,8,lB),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,uB)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.album-artist"))},null,8,cB),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,dB)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.release-date"))},null,8,mB),u("span",{class:"title is-6",textContent:v(e.$filters.date(n.album.release_date))},null,8,fB)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.position"))},null,8,pB),u("span",{class:"title is-6",textContent:v([n.track.disc_number,n.track.track_number].join(" / "))},null,8,hB)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.duration"))},null,8,_B),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.track.duration_ms))},null,8,gB)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.path"))},null,8,yB),u("span",{class:"title is-6",textContent:v(n.track.uri)},null,8,vB)])])]),u("footer",bB,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",wB,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.track.add"))},null,8,CB)]),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",zB,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.track.add-next"))},null,8,xB)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>o.play&&o.play(...a))},[u("span",kB,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.track.play"))},null,8,SB)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const tf=ve(eB,[["render",EB]]),Ga={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}},$B={name:"PageAlbum",components:{ContentWithHero:Zm,SpotifyListItemTrack:ef,SpotifyModalDialogTrack:tf,SpotifyModalDialogAlbum:Wi,CoverArtwork:Tr},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{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}}},AB=["textContent"],OB={class:"subtitle is-6 has-text-link has-text-weight-normal"},TB=["textContent"],PB={class:"buttons fd-is-centered-mobile fd-has-margin-top"},DB={class:"icon"},FB=["textContent"],IB={class:"icon"},LB={class:"image is-square fd-has-shadow fd-has-action"},MB=["textContent"],RB=["onClick"],NB={class:"icon has-text-dark"};function jB(e,t,n,r,s,o){const i=P("mdicon"),a=P("cover-artwork"),l=P("spotify-list-item-track"),c=P("spotify-modal-dialog-track"),m=P("spotify-modal-dialog-album"),f=P("content-with-hero");return E(),xe(f,null,{"heading-left":T(()=>[u("h1",{class:"title is-5",textContent:v(s.album.name)},null,8,AB),u("h2",OB,[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,TB)]),u("div",PB,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>o.play&&o.play(...d))},[u("span",DB,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.spotify.album.shuffle"))},null,8,FB)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=d=>s.show_album_details_modal=!0)},[u("span",IB,[C(i,{name:"dots-horizontal",size:"16"})])])])]),"heading-right":T(()=>[u("p",LB,[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:T(()=>[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,MB),(E(!0),D(We,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:T(()=>[u("a",{onClick:ht(h=>o.open_track_dialog(d),["prevent","stop"])},[u("span",NB,[C(i,{name:"dots-vertical",size:"16"})])],8,RB)]),_: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 VB=ve($B,[["render",jB]]),Ad=50,Ka={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:Ad,offset:0})])},set:function(e,t){e.playlist=t[0],e.tracks=[],e.total=0,e.offset=0,e.append_tracks(t[1])}},BB={name:"SpotifyPagePlaylist",components:{ContentWithHeading:ft,SpotifyListItemTrack:ef,SpotifyModalDialogTrack:tf,SpotifyModalDialogPlaylist:vu,VueEternalLoading:Pi.VueEternalLoading},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{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:Ad,offset:this.offset}).then(n=>{this.append_tracks(n),e(n.items.length,Ad)})},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}}},HB=["textContent"],UB={class:"buttons is-centered"},qB={class:"icon"},WB={class:"icon"},GB=["textContent"],KB=["textContent"],ZB=["onClick"],YB={class:"icon has-text-dark"},JB=yt(" . ");function XB(e,t,n,r,s,o){const i=P("mdicon"),a=P("spotify-list-item-track"),l=P("VueEternalLoading"),c=P("spotify-modal-dialog-track"),m=P("spotify-modal-dialog-playlist"),f=P("content-with-heading");return E(),xe(f,null,{"heading-left":T(()=>[u("div",{class:"title is-4",textContent:v(s.playlist.name)},null,8,HB)]),"heading-right":T(()=>[u("div",UB,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_playlist_details_modal=!0)},[u("span",qB,[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",WB,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.spotify.playlist.shuffle"))},null,8,GB)])])]),content:T(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.spotify.playlist.count",{count:s.playlist.tracks.total}))},null,8,KB),(E(!0),D(We,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:T(()=>[u("a",{onClick:ht(h=>o.open_track_dialog(d.track),["prevent","stop"])},[u("span",YB,[C(i,{name:"dots-vertical",size:"16"})])],8,ZB)]),_:2},1032,["track","album","position","context_uri"]))),128)),s.offset<s.total?(E(),xe(l,{key:0,load:o.load_next},{"no-more":T(()=>[JB]),_: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 QB=ve(BB,[["render",XB]]),eH={name:"SpotifyListItemArtist",props:["artist"],methods:{open_artist:function(){this.$router.push({path:"/music/spotify/artists/"+this.artist.id})}}},tH={class:"media"},nH=["textContent"],rH={class:"media-right"};function sH(e,t,n,r,s,o){return E(),D("div",tH,[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,nH)]),u("div",rH,[zt(e.$slots,"actions")])])}const oH=ve(eH,[["render",sH]]),Vo=50,iH={name:"SpotifyPageSearch",components:{ContentWithHeading:ft,ContentText:_1,TabsSearch:g1,SpotifyListItemTrack:ef,SpotifyListItemArtist:oH,SpotifyListItemAlbum:yu,SpotifyListItemPlaylist:Qm,SpotifyModalDialogTrack:tf,SpotifyModalDialogArtist:y1,SpotifyModalDialogAlbum:Wi,SpotifyModalDialogPlaylist:vu,VueEternalLoading:Pi.VueEternalLoading,CoverArtwork:Tr},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:Vo,this.search_param.offset=this.query.offset?this.query.offset:0,this.$store.commit(km,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,Vo)})},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,Vo)})},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,Vo)})},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,Vo)})},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:""}}},aH={class:"section fd-remove-padding-bottom"},lH={class:"container"},uH={class:"columns is-centered"},cH={class:"column is-four-fifths"},dH={class:"field"},mH={class:"control is-expanded has-icons-left"},fH={class:"icon is-left"},pH={class:"tags",style:{"margin-top":"16px"}},hH=["onClick","textContent"],_H=["textContent"],gH=["onClick"],yH={class:"icon has-text-dark"},vH=yt(" . "),bH={key:0,class:"level"},wH={class:"level-item"},CH=["textContent"],zH=["textContent"],xH=["textContent"],kH=["onClick"],SH={class:"icon has-text-dark"},EH=yt(" . "),$H={key:0,class:"level"},AH={class:"level-item"},OH=["textContent"],TH=["textContent"],PH=["textContent"],DH={class:"image is-64x64 fd-has-shadow fd-has-action"},FH=["onClick"],IH={class:"icon has-text-dark"},LH=yt(" . "),MH={key:0,class:"level"},RH={class:"level-item"},NH=["textContent"],jH=["textContent"],VH=["textContent"],BH=["onClick"],HH={class:"icon has-text-dark"},UH=yt(" . "),qH={key:0,class:"level"},WH={class:"level-item"},GH=["textContent"],KH=["textContent"];function ZH(e,t,n,r,s,o){const i=P("mdicon"),a=P("tabs-search"),l=P("spotify-list-item-track"),c=P("VueEternalLoading"),m=P("spotify-modal-dialog-track"),f=P("content-with-heading"),d=P("content-text"),p=P("spotify-list-item-artist"),h=P("spotify-modal-dialog-artist"),_=P("cover-artwork"),g=P("spotify-list-item-album"),b=P("spotify-modal-dialog-album"),w=P("spotify-list-item-playlist"),x=P("spotify-modal-dialog-playlist");return E(),D("div",null,[u("section",aH,[u("div",lH,[u("div",uH,[u("div",cH,[u("form",{onSubmit:t[1]||(t[1]=ht((...z)=>o.new_search&&o.new_search(...z),["prevent"]))},[u("div",dH,[u("p",mH,[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",fH,[C(i,{name:"magnify",size:"16"})])])])],32),u("div",pH,[(E(!0),D(We,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,hH))),128))])])])])]),C(a,{query:s.search_query},null,8,["query"]),o.show_tracks&&s.tracks.total?(E(),xe(f,{key:0},{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.search.tracks"))},null,8,_H)]),content:T(()=>[(E(!0),D(We,null,wt(s.tracks.items,z=>(E(),xe(l,{key:z.id,track:z,album:z.album,position:0,context_uri:z.uri},{actions:T(()=>[u("a",{onClick:ht(S=>o.open_track_dialog(z),["prevent","stop"])},[u("span",yH,[C(i,{name:"dots-vertical",size:"16"})])],8,gH)]),_:2},1032,["track","album","context_uri"]))),128)),s.query.type==="track"?(E(),xe(c,{key:0,load:o.search_tracks_next},{"no-more":T(()=>[vH]),_: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:T(()=>[o.show_all_tracks_button?(E(),D("nav",bH,[u("p",wH,[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,CH)])])):Q("",!0)]),_:1})):Q("",!0),o.show_tracks&&!s.tracks.total?(E(),xe(d,{key:1,class:"mt-6"},{content:T(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.spotify.search.no-tracks"))},null,8,zH)])]),_:1})):Q("",!0),o.show_artists&&s.artists.total?(E(),xe(f,{key:2},{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.search.artists"))},null,8,xH)]),content:T(()=>[(E(!0),D(We,null,wt(s.artists.items,z=>(E(),xe(p,{key:z.id,artist:z},{actions:T(()=>[u("a",{onClick:ht(S=>o.open_artist_dialog(z),["prevent","stop"])},[u("span",SH,[C(i,{name:"dots-vertical",size:"16"})])],8,kH)]),_:2},1032,["artist"]))),128)),s.query.type==="artist"?(E(),xe(c,{key:0,load:o.search_artists_next},{"no-more":T(()=>[EH]),_: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:T(()=>[o.show_all_artists_button?(E(),D("nav",$H,[u("p",AH,[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,OH)])])):Q("",!0)]),_:1})):Q("",!0),o.show_artists&&!s.artists.total?(E(),xe(d,{key:3},{content:T(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.spotify.search.no-artists"))},null,8,TH)])]),_:1})):Q("",!0),o.show_albums&&s.albums.total?(E(),xe(f,{key:4},{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.search.albums"))},null,8,PH)]),content:T(()=>[(E(!0),D(We,null,wt(s.albums.items,z=>(E(),xe(g,{key:z.id,album:z,onClick:S=>o.open_album(z)},ji({actions:T(()=>[u("a",{onClick:ht(S=>o.open_album_dialog(z),["prevent","stop"])},[u("span",IH,[C(i,{name:"dots-vertical",size:"16"})])],8,FH)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:T(()=>[u("p",DH,[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":T(()=>[LH]),_: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:T(()=>[o.show_all_albums_button?(E(),D("nav",MH,[u("p",RH,[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,NH)])])):Q("",!0)]),_:1})):Q("",!0),o.show_albums&&!s.albums.total?(E(),xe(d,{key:5},{content:T(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.spotify.search.no-albums"))},null,8,jH)])]),_:1})):Q("",!0),o.show_playlists&&s.playlists.total?(E(),xe(f,{key:6},{"heading-left":T(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.search.playlists"))},null,8,VH)]),content:T(()=>[(E(!0),D(We,null,wt(s.playlists.items,z=>(E(),xe(w,{key:z.id,playlist:z},{actions:T(()=>[u("a",{onClick:ht(S=>o.open_playlist_dialog(z),["prevent","stop"])},[u("span",HH,[C(i,{name:"dots-vertical",size:"16"})])],8,BH)]),_:2},1032,["playlist"]))),128)),s.query.type==="playlist"?(E(),xe(c,{key:0,load:o.search_playlists_next},{"no-more":T(()=>[UH]),_: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:T(()=>[o.show_all_playlists_button?(E(),D("nav",qH,[u("p",WH,[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,GH)])])):Q("",!0)]),_:1})):Q("",!0),o.show_playlists&&!s.playlists.total?(E(),xe(d,{key:7},{content:T(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.spotify.search.no-playlists"))},null,8,KH)])]),_:1})):Q("",!0)])}const YH=ve(iH,[["render",ZH]]),JH={name:"TabsSettings"},XH={class:"section fd-tabs-section"},QH={class:"container"},eU={class:"columns is-centered"},tU={class:"column is-four-fifths"},nU={class:"tabs is-centered is-small"},rU=["onClick","onKeypress"],sU=["textContent"],oU=["onClick","onKeypress"],iU=["textContent"],aU=["onClick","onKeypress"],lU=["textContent"],uU=["onClick","onKeypress"],cU=["textContent"];function dU(e,t,n,r,s,o){const i=P("router-link");return E(),D("section",XH,[u("div",QH,[u("div",eU,[u("div",tU,[u("div",nU,[u("ul",null,[C(i,{to:"/settings/webinterface",custom:""},{default:T(({navigate:a,isActive:l})=>[u("li",{class:Ze({"is-active":l})},[u("a",{onClick:a,onKeypress:Pn(a,["enter"])},[u("span",{textContent:v(e.$t("page.settings.tabs.general"))},null,8,sU)],40,rU)],2)]),_:1}),C(i,{to:"/settings/remotes-outputs",custom:""},{default:T(({navigate:a,isActive:l})=>[u("li",{class:Ze({"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,iU)],40,oU)],2)]),_:1}),C(i,{to:"/settings/artwork",custom:""},{default:T(({navigate:a,isActive:l})=>[u("li",{class:Ze({"is-active":l})},[u("a",{onClick:a,onKeypress:Pn(a,["enter"])},[u("span",{textContent:v(e.$t("page.settings.tabs.artwork"))},null,8,lU)],40,aU)],2)]),_:1}),C(i,{to:"/settings/online-services",custom:""},{default:T(({navigate:a,isActive:l})=>[u("li",{class:Ze({"is-active":l})},[u("a",{onClick:a,onKeypress:Pn(a,["enter"])},[u("span",{textContent:v(e.$t("page.settings.tabs.online-services"))},null,8,cU)],40,uU)],2)]),_:1})])])])])])])}const bu=ve(JH,[["render",dU]]),mU={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(au,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=""}}},fU={class:"field"},pU={class:"switch"},hU=["checked"],_U=["textContent"],gU={key:0,class:"help"};function yU(e,t,n,r,s,o){return E(),D("div",fU,[u("label",pU,[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,hU),zt(e.$slots,"label"),u("i",{class:Ze(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:v(o.info)},null,10,_U)]),e.$slots.info?(E(),D("p",gU,[zt(e.$slots,"info")])):Q("",!0)])}const v1=ve(mU,[["render",yU]]),vU={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(au,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=""}}},bU=["disabled"],wU={class:"field"},CU={class:"label has-text-weight-normal"},zU=["textContent"],xU={class:"control"},kU=["placeholder","value"],SU={key:0,class:"help"};function EU(e,t,n,r,s,o){return E(),D("fieldset",{disabled:n.disabled},[u("div",wU,[u("label",CU,[zt(e.$slots,"label"),u("i",{class:Ze(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:v(o.info)},null,10,zU)]),u("div",xU,[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,kU)]),e.$slots.info?(E(),D("p",SU,[zt(e.$slots,"info")])):Q("",!0)])],8,bU)}const $U=ve(vU,[["render",EU]]),AU={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(au,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=""}}},OU=["disabled"],TU={class:"field"},PU={class:"label has-text-weight-normal"},DU=["textContent"],FU={class:"control"},IU=["placeholder","value"],LU={key:0,class:"help"};function MU(e,t,n,r,s,o){return E(),D("fieldset",{disabled:n.disabled},[u("div",TU,[u("label",PU,[zt(e.$slots,"label"),u("i",{class:Ze(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:v(o.info)},null,10,DU)]),u("div",FU,[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,IU)]),e.$slots.info?(E(),D("p",LU,[zt(e.$slots,"info")])):Q("",!0)])],8,OU)}const RU=ve(AU,[["render",MU]]),NU={name:"SettingsPageWebinterface",components:{ContentWithHeading:ft,TabsSettings:bu,SettingsCheckbox:v1,SettingsTextfield:$U,SettingsIntfield:RU,DropdownMenu:gu},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)}))}}}},jU={class:"fd-page-with-tabs"},VU=["textContent"],BU=["textContent"],HU=["textContent"],UU=["textContent"],qU=["textContent"],WU=["textContent"],GU=["textContent"],KU=["textContent"],ZU=["textContent"],YU=["textContent"],JU=["textContent"],XU=["textContent"],QU=["textContent"],eq=["textContent"],tq=["textContent"],nq=["textContent"],rq=["textContent"],sq=["textContent"],oq=["textContent"],iq=["textContent"],aq=["textContent"],lq=["textContent"],uq=["textContent"];function cq(e,t,n,r,s,o){const i=P("tabs-settings"),a=P("dropdown-menu"),l=P("content-with-heading"),c=P("settings-checkbox"),m=P("settings-textfield"),f=P("settings-intfield");return E(),D("div",jU,[C(i),C(l,null,{"heading-left":T(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.general.language"))},null,8,VU)]),content:T(()=>[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":T(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.general.navigation-items"))},null,8,BU)]),content:T(()=>[u("p",{class:"content",textContent:v(e.$t("page.settings.general.navigation-item-selection"))},null,8,HU),u("div",{class:"notification is-size-7",textContent:v(e.$t("page.settings.general.navigation-item-selection-info"))},null,8,UU),C(c,{category_name:"webinterface",option_name:"show_menu_item_playlists"},{label:T(()=>[u("span",{textContent:v(e.$t("page.settings.general.playlists"))},null,8,qU)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_music"},{label:T(()=>[u("span",{textContent:v(e.$t("page.settings.general.music"))},null,8,WU)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_podcasts"},{label:T(()=>[u("span",{textContent:v(e.$t("page.settings.general.podcasts"))},null,8,GU)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_audiobooks"},{label:T(()=>[u("span",{textContent:v(e.$t("page.settings.general.audiobooks"))},null,8,KU)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_radio"},{label:T(()=>[u("span",{textContent:v(e.$t("page.settings.general.radio"))},null,8,ZU)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_files"},{label:T(()=>[u("span",{textContent:v(e.$t("page.settings.general.files"))},null,8,YU)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_search"},{label:T(()=>[u("span",{textContent:v(e.$t("page.settings.general.search"))},null,8,JU)]),_:1})]),_:1}),C(l,null,{"heading-left":T(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.general.album-lists"))},null,8,XU)]),content:T(()=>[C(c,{category_name:"webinterface",option_name:"show_cover_artwork_in_album_lists"},{label:T(()=>[u("span",{textContent:v(e.$t("page.settings.general.show-coverart"))},null,8,QU)]),_:1})]),_:1}),C(l,null,{"heading-left":T(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.general.now-playing-page"))},null,8,eq)]),content:T(()=>[C(c,{category_name:"webinterface",option_name:"show_composer_now_playing"},{label:T(()=>[u("span",{textContent:v(e.$t("page.settings.general.show-composer"))},null,8,tq)]),info:T(()=>[u("span",{textContent:v(e.$t("page.settings.general.show-composer-info"))},null,8,nq)]),_:1}),C(m,{category_name:"webinterface",option_name:"show_composer_for_genre",disabled:!o.settings_option_show_composer_now_playing,placeholder:"Genres"},{label:T(()=>[u("span",{textContent:v(e.$t("page.settings.general.show-composer-genres"))},null,8,rq)]),info:T(()=>[u("p",{class:"help",textContent:v(e.$t("page.settings.general.show-composer-genres-info-1"))},null,8,sq),u("p",{class:"help",textContent:v(e.$t("page.settings.general.show-composer-genres-info-2"))},null,8,oq),u("p",{class:"help",textContent:v(e.$t("page.settings.general.show-composer-genres-info-3"))},null,8,iq)]),_:1},8,["disabled"]),C(c,{category_name:"webinterface",option_name:"show_filepath_now_playing"},{label:T(()=>[u("span",{textContent:v(e.$t("page.settings.general.show-path"))},null,8,aq)]),_:1})]),_:1}),C(l,null,{"heading-left":T(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.general.recently-added-page"))},null,8,lq)]),content:T(()=>[C(f,{category_name:"webinterface",option_name:"recently_added_limit"},{label:T(()=>[u("span",{textContent:v(e.$t("page.settings.general.recently-added-page-info"))},null,8,uq)]),_:1})]),_:1})])}const dq=ve(NU,[["render",cq]]),mq={name:"SettingsPageArtwork",components:{ContentWithHeading:ft,TabsSettings:bu,SettingsCheckbox:v1},computed:{spotify(){return this.$store.state.spotify}}},fq={class:"fd-page-with-tabs"},pq=["textContent"],hq=["textContent"],_q=["textContent"],gq=["textContent"],yq={href:"https://www.spotify.com/",target:"_blank"},vq={class:"icon"},bq=["textContent"],wq={href:"https://www.discogs.com/",target:"_blank"},Cq={class:"icon"},zq=["textContent"],xq={href:"https://coverartarchive.org/",target:"_blank"},kq={class:"icon"};function Sq(e,t,n,r,s,o){const i=P("tabs-settings"),a=P("mdicon"),l=P("settings-checkbox"),c=P("content-with-heading");return E(),D("div",fq,[C(i),C(c,null,{"heading-left":T(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.artwork.artwork"))},null,8,pq)]),content:T(()=>[u("div",{class:"content",textContent:v(e.$t("page.settings.artwork.explanation-1"))},null,8,hq),u("div",{class:"content",textContent:v(e.$t("page.settings.artwork.explanation-2"))},null,8,_q),o.spotify.spotify_logged_in?(E(),xe(l,{key:0,category_name:"artwork",option_name:"use_artwork_source_spotify"},{label:T(()=>[u("span",{textContent:v(e.$t("page.settings.artwork.spotify"))},null,8,gq),u("a",yq,[u("span",vq,[C(a,{name:"open-in-new",size:"16"})])])]),_:1})):Q("",!0),C(l,{category_name:"artwork",option_name:"use_artwork_source_discogs"},{label:T(()=>[u("span",{textContent:v(e.$t("page.settings.artwork.discogs"))},null,8,bq),u("a",wq,[u("span",Cq,[C(a,{name:"open-in-new",size:"16"})])])]),_:1}),C(l,{category_name:"artwork",option_name:"use_artwork_source_coverartarchive"},{label:T(()=>[u("span",{textContent:v(e.$t("page.settings.artwork.coverartarchive"))},null,8,zq),u("a",xq,[u("span",kq,[C(a,{name:"open-in-new",size:"16"})])])]),_:1})]),_:1})])}const Eq=ve(mq,[["render",Sq]]),$q={name:"SettingsPageOnlineServices",components:{ContentWithHeading:ft,TabsSettings:bu},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()}}},Aq={class:"fd-page-with-tabs"},Oq=["textContent"],Tq={key:0,class:"notification is-size-7"},Pq=["textContent"],Dq={key:1},Fq={class:"notification is-size-7"},Iq=["textContent"],Lq={class:"fd-has-margin-top"},Mq=["innerHTML"],Rq={key:0},Nq=["textContent"],jq=["textContent"],Vq={key:1,class:"help is-danger"},Bq=["textContent"],Hq=["textContent"],Uq={class:"field fd-has-margin-top"},qq={class:"control"},Wq=["href","textContent"],Gq={class:"help"},Kq=["textContent"],Zq=["textContent"],Yq={key:2,class:"field fd-has-margin-top"},Jq={class:"control"},Xq=["textContent"],Qq=["textContent"],eW={key:0,class:"notification is-size-7"},tW=["textContent"],nW={key:1},rW=["innerHTML"],sW={key:0},oW=["textContent"],iW={key:1},aW={class:"field is-grouped"},lW={class:"control is-expanded"},uW=["textContent"],cW={class:"control is-expanded"},dW=["textContent"],mW={class:"control"},fW=["textContent"],pW=["textContent"],hW=["textContent"];function _W(e,t,n,r,s,o){const i=P("tabs-settings"),a=P("content-with-heading");return E(),D("div",Aq,[C(i),C(a,null,{"heading-left":T(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.services.spotify.title"))},null,8,Oq)]),content:T(()=>[o.spotify.spotify_installed?Q("",!0):(E(),D("div",Tq,[u("p",{textContent:v(e.$t("page.settings.services.spotify.no-support"))},null,8,Pq)])),o.spotify.spotify_installed?(E(),D("div",Dq,[u("div",Fq,[u("span",{textContent:v(e.$t("page.settings.services.spotify.requirements"))},null,8,Iq)]),u("div",Lq,[u("p",{class:"content",innerHTML:e.$t("page.settings.services.spotify.grant-access")},null,8,Mq),o.spotify.webapi_token_valid?(E(),D("p",Rq,[u("span",{textContent:v(e.$t("page.settings.services.spotify.user"))},null,8,Nq),u("code",{textContent:v(o.spotify.webapi_user)},null,8,jq)])):Q("",!0),o.spotify_missing_scope.length>0?(E(),D("p",Vq,[u("span",{textContent:v(e.$t("page.settings.services.spotify.reauthorize"))},null,8,Bq),u("code",{textContent:v(o.spotify_missing_scope.join())},null,8,Hq)])):Q("",!0),u("div",Uq,[u("div",qq,[u("a",{class:Ze(["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,Wq)])]),u("p",Gq,[u("span",{textContent:v(e.$t("page.settings.services.spotify.scopes"))},null,8,Kq),u("code",{textContent:v(o.spotify_required_scope.join(", "))},null,8,Zq)]),o.spotify.webapi_token_valid?(E(),D("div",Yq,[u("div",Jq,[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,Xq)])])):Q("",!0)])])):Q("",!0)]),_:1}),C(a,null,{"heading-left":T(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.services.lastfm.title"))},null,8,Qq)]),content:T(()=>[o.lastfm.enabled?Q("",!0):(E(),D("div",eW,[u("p",{textContent:v(e.$t("page.settings.services.lastfm.no-support"))},null,8,tW)])),o.lastfm.enabled?(E(),D("div",nW,[u("p",{class:"content",innerHTML:e.$t("page.settings.services.lastfm.grant-access")},null,8,rW),o.lastfm.scrobbling_enabled?(E(),D("div",sW,[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,oW)])):Q("",!0),o.lastfm.scrobbling_enabled?Q("",!0):(E(),D("div",iW,[u("form",{onSubmit:t[4]||(t[4]=ht((...l)=>o.login_lastfm&&o.login_lastfm(...l),["prevent"]))},[u("div",aW,[u("div",lW,[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,uW)]),u("div",cW,[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,dW)]),u("div",mW,[u("button",{class:"button is-info",type:"submit",textContent:v(e.$t("page.settings.services.login"))},null,8,fW)])]),u("p",{class:"help is-danger",textContent:v(s.lastfm_login.errors.error)},null,8,pW),u("p",{class:"help",textContent:v(e.$t("page.settings.services.lastfm.info"))},null,8,hW)],32)]))])):Q("",!0)]),_:1})])}const gW=ve($q,[["render",_W]]),yW={name:"SettingsPageRemotesOutputs",components:{ContentWithHeading:ft,TabsSettings:bu},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)}}},vW={class:"fd-page-with-tabs"},bW=["textContent"],wW={key:0,class:"notification"},CW={class:"label has-text-weight-normal"},zW=["textContent"],xW=["textContent"],kW={class:"field is-grouped"},SW={class:"control"},EW={class:"control"},$W=["textContent"],AW={key:1,class:"content"},OW=["textContent"],TW=["textContent"],PW=["textContent"],DW={class:"field"},FW={class:"control"},IW={class:"checkbox"},LW=["onUpdate:modelValue","onChange"],MW=["textContent"],RW=["onSubmit"],NW={class:"field is-grouped"},jW={class:"control"},VW=["placeholder"],BW={class:"control"},HW=["textContent"];function UW(e,t,n,r,s,o){const i=P("tabs-settings"),a=P("content-with-heading");return E(),D("div",vW,[C(i),C(a,null,{"heading-left":T(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.devices.pairing"))},null,8,bW)]),content:T(()=>[o.pairing.active?(E(),D("div",wW,[u("form",{onSubmit:t[1]||(t[1]=ht((...l)=>o.kickoff_pairing&&o.kickoff_pairing(...l),["prevent"]))},[u("label",CW,[u("span",{textContent:v(e.$t("page.settings.devices.pairing-request"))},null,8,zW),u("b",{textContent:v(o.pairing.remote)},null,8,xW)]),u("div",kW,[u("div",SW,[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",EW,[u("button",{class:"button is-info",type:"submit",textContent:v(e.$t("page.settings.devices.send"))},null,8,$W)])])],32)])):Q("",!0),o.pairing.active?Q("",!0):(E(),D("div",AW,[u("p",{textContent:v(e.$t("page.settings.devices.no-active-pairing"))},null,8,OW)]))]),_:1}),C(a,null,{"heading-left":T(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.devices.speaker-pairing"))},null,8,TW)]),content:T(()=>[u("p",{class:"content",textContent:v(e.$t("page.settings.devices.speaker-pairing-info"))},null,8,PW),(E(!0),D(We,null,wt(o.outputs,l=>(E(),D("div",{key:l.id},[u("div",DW,[u("div",FW,[u("label",IW,[xt(u("input",{"onUpdate:modelValue":c=>l.selected=c,type:"checkbox",style:{"margin-right":"5px"},onChange:c=>o.output_toggle(l.id)},null,40,LW),[[Sr,l.selected]]),u("span",{textContent:v(l.name)},null,8,MW)])])]),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",NW,[u("div",jW,[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,VW),[[xn,s.verification_req.pin]])]),u("div",BW,[u("button",{class:"button is-info",type:"submit",textContent:v(e.$t("page.settings.devices.verify"))},null,8,HW)])])],40,RW)):Q("",!0)]))),128))]),_:1})])}const qW=ve(yW,[["render",UW]]),b1=V2({history:r2(),routes:[{path:"/",name:"PageQueue",component:_8},{path:"/about",name:"About",component:xN},{path:"/now-playing",name:"Now playing",component:iO},{path:"/music",redirect:"/music/browse"},{path:"/music/browse",name:"Browse",component:M4,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/browse/recently_added",name:"Browse Recently Added",component:H4,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/browse/recently_played",name:"Browse Recently Played",component:Z4,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/artists",name:"Artists",component:aP,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/artists/:artist_id",name:"Artist",component:CP,meta:{show_progress:!0,has_index:!0}},{path:"/music/artists/:artist_id/tracks",name:"Tracks",component:LF,meta:{show_progress:!0,has_index:!0}},{path:"/music/albums",name:"Albums",component:VP,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/albums/:album_id",name:"Album",component:pD,meta:{show_progress:!0}},{path:"/music/genres",name:"Genres",component:eF,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/genres/:genre",name:"Genre",component:mF,meta:{show_progress:!0,has_index:!0}},{path:"/music/genres/:genre/tracks",name:"GenreTracks",component:xF,meta:{show_progress:!0,has_index:!0}},{path:"/music/composers",name:"Composers",component:vI,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/composers/:composer/albums",name:"ComposerAlbums",component:TI,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/composers/:composer/tracks",name:"ComposerTracks",component:HI,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/podcasts",name:"Podcasts",component:kL,meta:{show_progress:!0}},{path:"/podcasts/:album_id",name:"Podcast",component:jL,meta:{show_progress:!0}},{path:"/audiobooks",redirect:"/audiobooks/artists"},{path:"/audiobooks/artists",name:"AudiobooksArtists",component:dM,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/audiobooks/artists/:artist_id",name:"AudiobooksArtist",component:bM,meta:{show_progress:!0}},{path:"/audiobooks/albums",name:"AudiobooksAlbums",component:oM,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/audiobooks/:album_id",name:"Audiobook",component:PM,meta:{show_progress:!0}},{path:"/radio",name:"Radio",component:hR,meta:{show_progress:!0}},{path:"/files",name:"Files",component:cR,meta:{show_progress:!0}},{path:"/playlists",redirect:"/playlists/0"},{path:"/playlists/:playlist_id",name:"Playlists",component:_7,meta:{show_progress:!0}},{path:"/playlists/:playlist_id/tracks",name:"Playlist",component:k7,meta:{show_progress:!0}},{path:"/search",redirect:"/search/library"},{path:"/search/library",name:"Search Library",component:E9},{path:"/music/spotify",name:"Spotify",component:Gj,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/spotify/new-releases",name:"Spotify Browse New Releases",component:tV,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/spotify/featured-playlists",name:"Spotify Browse Featured Playlists",component:lV,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/spotify/artists/:artist_id",name:"Spotify Artist",component:BV,meta:{show_progress:!0}},{path:"/music/spotify/albums/:album_id",name:"Spotify Album",component:VB,meta:{show_progress:!0}},{path:"/music/spotify/playlists/:playlist_id",name:"Spotify Playlist",component:QB,meta:{show_progress:!0}},{path:"/search/spotify",name:"Spotify Search",component:YH},{path:"/settings/webinterface",name:"Settings Webinterface",component:dq},{path:"/settings/artwork",name:"Settings Artwork",component:Eq},{path:"/settings/online-services",name:"Settings Online Services",component:gW},{path:"/settings/remotes-outputs",name:"Settings Remotes Outputs",component:qW}],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}}});b1.beforeEach((e,t,n)=>{if(it.state.show_burger_menu){it.commit(_o,!1),n(!1);return}if(it.state.show_player_menu){it.commit(go,!1),n(!1);return}n(!0)});var Od={},WW={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=Rm},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(O){var j=this;O||(O=3e3),x.percent=0,x.options.show=!0,x.options.canSuccess=!0,this.state.cut=1e4/Math.floor(O),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(O){x.options.show=!0,x.options.canSuccess=!0,x.percent=Math.floor(O)},get:function(){return Math.floor(x.percent)},increase:function(O){x.percent=Math.min(99,x.percent+Math.floor(O))},decrease:function(O){x.percent=x.percent-Math.floor(O)},hide:function(){var O=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(){O.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(O){x.options.failedColor=O},setColor:function(O){x.options.color=O},setLocation:function(O){x.options.location=O},setTransition:function(O){x.options.transition=O},tempFailColor:function(O){this.state.tFailColor=x.options.failedColor,x.options.failedColor=O},tempColor:function(O){this.state.tColor=x.options.color,x.options.color=O},tempLocation:function(O){this.state.tLocation=x.options.location,x.options.location=O},tempTransition:function(O){this.state.tTransition=x.options.transition,x.options.transition=O},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(O){for(var j in O.func){var F=O.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}})})(WW);const GW=Om(Od),w1=function(){return document.ontouchstart!==null?"click":"touchstart"},Fl="__vue_click_away__",C1=function(e,t,n){z1(e);let r=n.context,s=t.value,o=!1;setTimeout(function(){o=!0},0),e[Fl]=function(i){if((!e||!e.contains(i.target))&&s&&o&&typeof s=="function")return s.call(r,i)},document.addEventListener(w1(),e[Fl],!1)},z1=function(e){document.removeEventListener(w1(),e[Fl],!1),delete e[Fl]},KW=function(e,t,n){t.value!==t.oldValue&&C1(e,t,n)},ZW={install:function(e){e.directive("click-away",YW)}},YW={mounted:C1,updated:KW,unmounted:z1};var lr=(e=>(e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e))(lr||{});const JW=typeof window<"u"&&window!==null,XW=nG(),QW=Object.prototype.propertyIsEnumerable,Jh=Object.getOwnPropertySymbols;function bi(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function eG(e){return typeof e=="object"?e===null:typeof e!="function"}function tG(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function nG(){return JW&&"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 rG(e,...t){if(!bi(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof Jh!="function")return e;for(const n of t){const r=Jh(n);for(const s of r)QW.call(n,s)&&(e[s]=n[s])}return e}function x1(e,...t){let n=0;for(eG(e)&&(e=t[n++]),e||(e={});n<t.length;n++)if(bi(t[n])){for(const r of Object.keys(t[n]))tG(r)&&(bi(e[r])&&bi(t[n][r])?x1(e[r],t[n][r]):e[r]=t[n][r]);rG(e,t[n])}return e}const Xh="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",sG="",oG={rootMargin:"0px",threshold:0},Ws="data-lazy-timeout-id";class iG{constructor(t){this.options={loading:Xh,error:sG,observerOptions:oG,log:!0,lifecycle:{}},this._images=new WeakMap,this.config(t)}config(t={}){x1(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||Xh),XW||(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(Ws))return;const a=setTimeout(()=>{this._intersectionCallback(t,n,s,o,i),n.target.removeAttribute(Ws)},r);n.target.setAttribute(Ws,String(a))}else n.target.hasAttribute(Ws)&&(clearTimeout(Number(n.target.getAttribute(Ws))),n.target.removeAttribute(Ws))}_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 bi(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 aG={install(e,t){const n=new iG(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 Td={},lG={get exports(){return Td},set exports(e){Td=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(je){for(var Ie=0,Ee=1,Ae=l-1;Ee!==Ae&&ie[Ee]<=je;++Ee)Ie+=c;--Ee;var $=(je-ie[Ee])/(ie[Ee+1]-ie[Ee]),R=Ie+$*c,Y=_(R,X,we);return Y>=o?b(je,R,X,we):Y===0?R:g(je,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 O=Object.defineProperty({},"passive",{get:function(){S=!0}});window.addEventListener("test",null,O)}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,je,Ie,Ee,Ae,$,R,Y,le,ce,ye,Ce,pe,V,q,$e,ze,De=function(de){je&&(ze=de,V=!0)},Re,qe,et,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();qe||(qe=re),ie||K(),et=re-qe,k=Math.min(et/we,1),k=Re(k),Se(me,ce+pe*k,Y+Ce*k),et<we?window.requestAnimationFrame(ee):fe()}function fe(){V||Se(me,ye,le),qe=!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,je=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,Ne=ce,He=Ne+ae,ut=ye-se,hn=ut+X.offsetHeight;if(ut>=Ne&&hn<=He){Ee&&Ee(X);return}}if(Ie&&Ie(X),!pe&&!Ce){Ee&&Ee(X);return}return typeof U=="string"&&(U=z[U]||z.ease),Re=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},Be=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(Be)),Me.install=Be,Me})})(lG);const uG=Td;var cG="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",dG="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",mG="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",fG="M19.92,12.08L12,20L4.08,12.08L5.5,10.67L11,16.17V2H13V16.17L18.5,10.66L19.92,12.08M12,20H2V22H22V20H12Z",pG="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",hG="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",_G="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",gG="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",yG="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",vG="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",bG="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",wG="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",CG="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",zG="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",xG="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",kG="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",SG="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",EG="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",$G="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",AG="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",OG="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",TG="M13,6V18L21.5,12M4,18L12.5,12L4,6V18Z",PG="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",DG="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",FG="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",IG="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",LG="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",MG="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",RG="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",NG="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",jG="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",VG="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",BG="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",HG="M14,19H18V5H14M6,19H10V5H6V19Z",UG="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",qG="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",WG="M8,5.14V19.14L19,12.14L8,5.14Z",GG="M19,9H2V11H19V9M19,5H2V7H19V5M2,15H15V13H2V15M17,13V19L22,16L17,13Z",KG="M2,16H10V14H2M18,14V10H16V14H12V16H16V20H18V16H22V14M14,6H2V8H14M14,10H2V12H14V10Z",ZG="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",YG="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",JG="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",XG="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",QG="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",eK="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",tK="M11.5,12L20,18V6M11,18V6L2.5,12L11,18Z",nK="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",rK="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",sK="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",oK="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",iK="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",aK="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",lK="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",uK="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",cK="M18,18H6V6H18V18Z",dK="M11,9L12.42,10.42L8.83,14H18V4H20V16H8.83L12.42,19.58L11,21L5,15L11,9Z",mK="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",fK="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",pK="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 hK={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 _K=e=>e.charAt(0).toUpperCase()+e.slice(1),gK=e=>e.split("-").map(_K).join(""),yK=(e,t,n)=>{const r=e[`mdi${gK(t.name)}`]||mG,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}}},vK=(e,t)=>({[t.staticClass||""]:!0,[t.class||""]:!0,[`mdi mdi-${e.name}`]:!0,"mdi-spin":e.spin===!0}),bK=(e,t={})=>({install(n,{icons:r}){if(r===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",{name:"MDIcon",props:hK,...t,render:e(r)})}}),wK=e=>function(){const{spanAttrs:n,svgAttrs:r,pathAttrs:s}=yK(e,this,this.$attrs);return Cn("span",{...n,class:vK(this,this)},[Cn("svg",r,[this.title?Cn("title",[this.title]):void 0,Cn("path",s)])])},CK=bK(wK);class Is extends Error{}class zK extends Is{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class xK extends Is{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class kK extends Is{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ei extends Is{}class k1 extends Is{constructor(t){super(`Invalid unit ${t}`)}}class Bn extends Is{}class Rr extends Is{constructor(){super("Zone is an abstract class")}}const Te="numeric",sr="short",In="long",Pd={year:Te,month:Te,day:Te},S1={year:Te,month:sr,day:Te},SK={year:Te,month:sr,day:Te,weekday:sr},E1={year:Te,month:In,day:Te},$1={year:Te,month:In,day:Te,weekday:In},A1={hour:Te,minute:Te},O1={hour:Te,minute:Te,second:Te},T1={hour:Te,minute:Te,second:Te,timeZoneName:sr},P1={hour:Te,minute:Te,second:Te,timeZoneName:In},D1={hour:Te,minute:Te,hourCycle:"h23"},F1={hour:Te,minute:Te,second:Te,hourCycle:"h23"},I1={hour:Te,minute:Te,second:Te,hourCycle:"h23",timeZoneName:sr},L1={hour:Te,minute:Te,second:Te,hourCycle:"h23",timeZoneName:In},M1={year:Te,month:Te,day:Te,hour:Te,minute:Te},R1={year:Te,month:Te,day:Te,hour:Te,minute:Te,second:Te},N1={year:Te,month:sr,day:Te,hour:Te,minute:Te},j1={year:Te,month:sr,day:Te,hour:Te,minute:Te,second:Te},EK={year:Te,month:sr,day:Te,weekday:sr,hour:Te,minute:Te},V1={year:Te,month:In,day:Te,hour:Te,minute:Te,timeZoneName:sr},B1={year:Te,month:In,day:Te,hour:Te,minute:Te,second:Te,timeZoneName:sr},H1={year:Te,month:In,day:Te,weekday:In,hour:Te,minute:Te,timeZoneName:In},U1={year:Te,month:In,day:Te,weekday:In,hour:Te,minute:Te,second:Te,timeZoneName:In};function ct(e){return typeof e>"u"}function xs(e){return typeof e=="number"}function wu(e){return typeof e=="number"&&e%1===0}function $K(e){return typeof e=="string"}function AK(e){return Object.prototype.toString.call(e)==="[object Date]"}function q1(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function OK(e){return Array.isArray(e)?e:[e]}function Qh(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 TK(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function zo(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function zr(e,t,n){return wu(e)&&e>=t&&e<=n}function PK(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 nf(e){if(!(ct(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function rf(e,t,n=!1){const r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function Gi(e){return e%4===0&&(e%100!==0||e%400===0)}function wi(e){return Gi(e)?366:365}function Il(e,t){const n=PK(t-1,12)+1,r=e+(t-n)/12;return n===2?Gi(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function sf(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 Ll(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 Dd(e){return e>99?e:e>60?1900+e:2e3+e}function W1(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 Cu(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 G1(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new Bn(`Invalid unit value ${e}`);return t}function Ml(e,t){const n={};for(const r in e)if(zo(e,r)){const s=e[r];if(s==null)continue;n[t(r)]=G1(s)}return n}function Ci(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 zu(e){return TK(e,["hour","minute","second","millisecond"])}const K1=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/,DK=["January","February","March","April","May","June","July","August","September","October","November","December"],Z1=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],FK=["J","F","M","A","M","J","J","A","S","O","N","D"];function Y1(e){switch(e){case"narrow":return[...FK];case"short":return[...Z1];case"long":return[...DK];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 J1=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],X1=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],IK=["M","T","W","T","F","S","S"];function Q1(e){switch(e){case"narrow":return[...IK];case"short":return[...X1];case"long":return[...J1];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const eb=["AM","PM"],LK=["Before Christ","Anno Domini"],MK=["BC","AD"],RK=["B","A"];function tb(e){switch(e){case"narrow":return[...RK];case"short":return[...MK];case"long":return[...LK];default:return null}}function NK(e){return eb[e.hour<12?0:1]}function jK(e,t){return Q1(t)[e.weekday-1]}function VK(e,t){return Y1(t)[e.month-1]}function BK(e,t){return tb(t)[e.year<0?0:1]}function HK(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 e_(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const UK={D:Pd,DD:S1,DDD:E1,DDDD:$1,t:A1,tt:O1,ttt:T1,tttt:P1,T:D1,TT:F1,TTT:I1,TTTT:L1,f:M1,ff:N1,fff:V1,ffff:H1,F:R1,FF:j1,FFF:B1,FFFF:U1};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 UK[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?NK(t):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(p,h)=>r?VK(t,p):o(h?{month:p}:{month:p,day:"numeric"},"month"),c=(p,h)=>r?jK(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?BK(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 e_(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 e_(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 Ki{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 Cc=null;class of extends Ki{static get instance(){return Cc===null&&(Cc=new of),Cc}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return W1(t,n,r)}formatOffset(t,n){return Ci(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let cl={};function qK(e){return cl[e]||(cl[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"})),cl[e]}const WK={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function GK(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 KK(e,t){const n=e.formatToParts(t),r=[];for(let s=0;s<n.length;s++){const{type:o,value:i}=n[s],a=WK[o];o==="era"?r[a]=i:ct(a)||(r[a]=parseInt(i,10))}return r}let Za={};class Er extends Ki{static create(t){return Za[t]||(Za[t]=new Er(t)),Za[t]}static resetCache(){Za={},cl={}}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=Er.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return W1(t,n,r,this.name)}formatOffset(t,n){return Ci(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const r=qK(this.name);let[s,o,i,a,l,c,m]=r.formatToParts?KK(r,n):GK(r,n);a==="BC"&&(s=-Math.abs(s)+1);const d=sf({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 zc=null;class mn extends Ki{static get utcInstance(){return zc===null&&(zc=new mn(0)),zc}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(Cu(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Ci(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Ci(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return Ci(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 ZK extends Ki{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 Ki)return e;if($K(e)){const n=e.toLowerCase();return n==="local"||n==="system"?t:n==="utc"||n==="gmt"?mn.utcInstance:mn.parseSpecifier(n)||Er.create(e)}else return xs(e)?mn.instance(e):typeof e=="object"&&e.offset&&typeof e.offset=="number"?e:new ZK(e)}let t_=()=>Date.now(),n_="system",r_=null,s_=null,o_=null,i_;class Gt{static get now(){return t_}static set now(t){t_=t}static set defaultZone(t){n_=t}static get defaultZone(){return Gr(n_,of.instance)}static get defaultLocale(){return r_}static set defaultLocale(t){r_=t}static get defaultNumberingSystem(){return s_}static set defaultNumberingSystem(t){s_=t}static get defaultOutputCalendar(){return o_}static set defaultOutputCalendar(t){o_=t}static get throwOnInvalid(){return i_}static set throwOnInvalid(t){i_=t}static resetCaches(){$t.resetCache(),Er.resetCache()}}let a_={};function YK(e,t={}){const n=JSON.stringify([e,t]);let r=a_[n];return r||(r=new Intl.ListFormat(e,t),a_[n]=r),r}let Fd={};function Id(e,t={}){const n=JSON.stringify([e,t]);let r=Fd[n];return r||(r=new Intl.DateTimeFormat(e,t),Fd[n]=r),r}let Ld={};function JK(e,t={}){const n=JSON.stringify([e,t]);let r=Ld[n];return r||(r=new Intl.NumberFormat(e,t),Ld[n]=r),r}let Md={};function XK(e,t={}){const{base:n,...r}=t,s=JSON.stringify([e,r]);let o=Md[s];return o||(o=new Intl.RelativeTimeFormat(e,t),Md[s]=o),o}let ti=null;function QK(){return ti||(ti=new Intl.DateTimeFormat().resolvedOptions().locale,ti)}function eZ(e){const t=e.indexOf("-u-");if(t===-1)return[e];{let n;const r=e.substring(0,t);try{n=Id(e).resolvedOptions()}catch{n=Id(r).resolvedOptions()}const{numberingSystem:s,calendar:o}=n;return[r,s,o]}}function tZ(e,t,n){return(n||t)&&(e+="-u",n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function nZ(e){const t=[];for(let n=1;n<=12;n++){const r=Xe.utc(2016,n,1);t.push(e(r))}return t}function rZ(e){const t=[];for(let n=1;n<=7;n++){const r=Xe.utc(2016,11,13+n);t.push(e(r))}return t}function Ya(e,t,n,r,s){const o=e.listingMode(n);return o==="error"?null:o==="en"?r(t):s(t)}function sZ(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 oZ{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=JK(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):rf(t,3);return Ht(n,this.padTo)}}}class iZ{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&&Er.create(a).valid?(s=a,this.dt=t):(s="UTC",r.timeZoneName?this.dt=t:this.dt=t.offset===0?t:Xe.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=Id(n,o)}format(){return this.dtf.format(this.dt.toJSDate())}formatToParts(){return this.dtf.formatToParts(this.dt.toJSDate())}resolvedOptions(){return this.dtf.resolvedOptions()}}class aZ{constructor(t,n,r){this.opts={style:"long",...r},!n&&q1()&&(this.rtf=XK(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):HK(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":QK()),a=n||Gt.defaultNumberingSystem,l=r||Gt.defaultOutputCalendar;return new $t(i,a,l,o)}static resetCache(){ti=null,Fd={},Ld={},Md={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:r}={}){return $t.create(t,n,r)}constructor(t,n,r,s){const[o,i,a]=eZ(t);this.locale=o,this.numberingSystem=n||i||null,this.outputCalendar=r||a||null,this.intl=tZ(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=sZ(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 Ya(this,t,r,Y1,()=>{const s=n?{month:t,day:"numeric"}:{month:t},o=n?"format":"standalone";return this.monthsCache[o][t]||(this.monthsCache[o][t]=nZ(i=>this.extract(i,s,"month"))),this.monthsCache[o][t]})}weekdays(t,n=!1,r=!0){return Ya(this,t,r,Q1,()=>{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]=rZ(i=>this.extract(i,s,"weekday"))),this.weekdaysCache[o][t]})}meridiems(t=!0){return Ya(this,void 0,t,()=>eb,()=>{if(!this.meridiemCache){const n={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Xe.utc(2016,11,13,9),Xe.utc(2016,11,13,19)].map(r=>this.extract(r,n,"dayperiod"))}return this.meridiemCache})}eras(t,n=!0){return Ya(this,t,n,tb,()=>{const r={era:t};return this.eraCache[t]||(this.eraCache[t]=[Xe.utc(-40,1,1),Xe.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 oZ(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new iZ(t,this.intl,n)}relFormatter(t={}){return new aZ(this.intl,this.isEnglish(),t)}listFormatter(t={}){return YK(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 Ao(...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 To(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 nb(...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 rb=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,lZ=`(?:${rb.source}?(?:\\[(${K1.source})\\])?)?`,af=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,sb=RegExp(`${af.source}${lZ}`),lf=RegExp(`(?:T${sb.source})?`),uZ=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,cZ=/(\d{4})-?W(\d\d)(?:-?(\d))?/,dZ=/(\d{4})-?(\d{3})/,mZ=nb("weekYear","weekNumber","weekDay"),fZ=nb("year","ordinal"),pZ=/(\d{4})-(\d\d)-(\d\d)/,ob=RegExp(`${af.source} ?(?:${rb.source}|(${K1.source}))?`),hZ=RegExp(`(?: ${ob.source})?`);function lo(e,t,n){const r=e[t];return ct(r)?n:qr(r)}function _Z(e,t){return[{year:lo(e,t),month:lo(e,t+1,1),day:lo(e,t+2,1)},null,t+3]}function Po(e,t){return[{hours:lo(e,t,0),minutes:lo(e,t+1,0),seconds:lo(e,t+2,0),milliseconds:nf(e[t+3])},null,t+4]}function Zi(e,t){const n=!e[t]&&!e[t+1],r=Cu(e[t+1],e[t+2]),s=n?null:mn.instance(r);return[{},s,t+3]}function Yi(e,t){const n=e[t]?Er.create(e[t]):null;return[{},n,t+1]}const gZ=RegExp(`^T?${af.source}$`),yZ=/^-?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 vZ(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(nf(c),f)}]}const bZ={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 uf(e,t,n,r,s,o,i){const a={year:t.length===2?Dd(qr(t)):qr(t),month:Z1.indexOf(n)+1,day:qr(r),hour:qr(s),minute:qr(o)};return i&&(a.second=qr(i)),e&&(a.weekday=e.length>3?J1.indexOf(e)+1:X1.indexOf(e)+1),a}const wZ=/^(?:(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 CZ(e){const[,t,n,r,s,o,i,a,l,c,m,f]=e,d=uf(t,s,r,n,o,i,a);let p;return l?p=bZ[l]:c?p=0:p=Cu(m,f),[d,new mn(p)]}function zZ(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const xZ=/^(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$/,kZ=/^(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$/,SZ=/^(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 l_(e){const[,t,n,r,s,o,i,a]=e;return[uf(t,s,r,n,o,i,a),mn.utcInstance]}function EZ(e){const[,t,n,r,s,o,i,a]=e;return[uf(t,a,n,r,s,o,i),mn.utcInstance]}const $Z=Ao(uZ,lf),AZ=Ao(cZ,lf),OZ=Ao(dZ,lf),TZ=Ao(sb),ib=Oo(_Z,Po,Zi,Yi),PZ=Oo(mZ,Po,Zi,Yi),DZ=Oo(fZ,Po,Zi,Yi),FZ=Oo(Po,Zi,Yi);function IZ(e){return To(e,[$Z,ib],[AZ,PZ],[OZ,DZ],[TZ,FZ])}function LZ(e){return To(zZ(e),[wZ,CZ])}function MZ(e){return To(e,[xZ,l_],[kZ,l_],[SZ,EZ])}function RZ(e){return To(e,[yZ,vZ])}const NZ=Oo(Po);function jZ(e){return To(e,[gZ,NZ])}const VZ=Ao(pZ,hZ),BZ=Ao(ob),HZ=Oo(Po,Zi,Yi);function UZ(e){return To(e,[VZ,ib],[BZ,HZ])}const qZ="Invalid Duration",ab={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}},WZ={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},...ab},Vn=146097/400,Gs=146097/4800,GZ={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:Gs/7,days:Gs,hours:Gs*24,minutes:Gs*24*60,seconds:Gs*24*60*60,milliseconds:Gs*24*60*60*1e3},...ab},_s=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],KZ=_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 ZZ(e){return e<0?Math.floor(e):Math.ceil(e)}function lb(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?ZZ(i):Math.trunc(i);r[s]+=l,t[n]-=l*o}function YZ(e,t){KZ.reduce((n,r)=>ct(t[r])?n:(n&&lb(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?GZ:WZ,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:Ml(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]=RZ(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]=jZ(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 kK(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 k1(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):qZ}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+=rf(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)(zo(n.values,s)||zo(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]=G1(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,...Ml(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 YZ(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)&&lb(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 Bo="Invalid Interval";function JZ(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 xK(r);return new Ft({invalid:r})}static fromDateTimes(t,n){const r=qo(t),s=qo(n),o=JZ(r,s);return o??new Ft({start:r,end:s})}static after(t,n){const r=ot.fromDurationLike(n),s=qo(t);return Ft.fromDateTimes(s,s.plus(r))}static before(t,n){const r=ot.fromDurationLike(n),s=qo(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=Xe.fromISO(r,n),i=o.isValid}catch{i=!1}let a,l;try{a=Xe.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(qo).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()})`:Bo}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Bo}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Bo}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Bo}toFormat(t,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Bo}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 Ja{static hasDST(t=Gt.defaultZone){const n=Xe.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return Er.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:q1()}}}function u_(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 XZ(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=u_(a,l);return(c-c%7)/7}],["days",u_]],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 QZ(e,t,n,r){let[s,o,i,a]=XZ(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 cf={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},c_={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]},eY=cf.hanidec.replace(/[\[|\]]/g,"").split("");function tY(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(cf.hanidec)!==-1)t+=eY.indexOf(e[n]);else for(const s in c_){const[o,i]=c_[s];r>=o&&r<=i&&(t+=r-o)}}return parseInt(t,10)}else return t}function Jn({numberingSystem:e},t=""){return new RegExp(`${cf[e||"latn"]}${t}`)}const nY="missing Intl.DateTimeFormat.formatToParts support";function _t(e,t=n=>n){return{regex:e,deser:([n])=>t(tY(n))}}const rY=String.fromCharCode(160),ub=`[ ${rY}]`,cb=new RegExp(ub,"g");function sY(e){return e.replace(/\./g,"\\.?").replace(cb,ub)}function d_(e){return e.replace(/\./g,"").replace(cb," ").toLowerCase()}function Xn(e,t){return e===null?null:{regex:RegExp(e.map(sY).join("|")),deser:([n])=>e.findIndex(r=>d_(n)===d_(r))+t}}function m_(e,t){return{regex:e,deser:([,n,r])=>Cu(n,r),groups:t}}function xc(e){return{regex:e,deser:([t])=>t}}function oY(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function iY(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(oY(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,Dd);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 xc(m);case"uu":return xc(a);case"uuu":return _t(n);case"a":return Xn(t.meridiems(),0);case"kkkk":return _t(o);case"kk":return _t(f,Dd);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 m_(new RegExp(`([+-]${a.source})(?::(${r.source}))?`),2);case"ZZZ":return m_(new RegExp(`([+-]${a.source})(${r.source})?`),2);case"z":return xc(/[a-z_+-/]{1,256}?/i);default:return p(g)}})(e)||{invalidReason:nY};return _.token=e,_}const aY={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 lY(e,t,n){const{type:r,value:s}=e;if(r==="literal")return{literal:!0,val:s};const o=n[r];let i=aY[r];if(typeof i=="object"&&(i=i[o]),i)return{literal:!1,val:i}}function uY(e){return[`^${e.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,e]}function cY(e,t,n){const r=e.match(t);if(r){const s={};let o=1;for(const i in n)if(zo(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 dY(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=Er.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=nf(e.u)),[Object.keys(e).reduce((o,i)=>{const a=t(i);return a&&(o[a]=e[i]),o},{}),n,r]}let kc=null;function mY(){return kc||(kc=Xe.fromMillis(1555555555555)),kc}function fY(e,t){if(e.literal)return e;const n=zn.macroTokenToFormatOpts(e.val);if(!n)return e;const o=zn.create(t,n).formatDateTimeParts(mY()).map(i=>lY(i,t,n));return o.includes(void 0)?e:o}function pY(e,t){return Array.prototype.concat(...e.map(n=>fY(n,t)))}function db(e,t,n){const r=pY(zn.parseFormat(n),e),s=r.map(i=>iY(i,e)),o=s.find(i=>i.invalidReason);if(o)return{input:t,tokens:r,invalidReason:o.invalidReason};{const[i,a]=uY(s),l=RegExp(i,"i"),[c,m]=cY(t,l,a),[f,d,p]=m?dY(m):[null,null,void 0];if(zo(m,"a")&&zo(m,"H"))throw new ei("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 hY(e,t,n){const{result:r,zone:s,specificOffset:o,invalidReason:i}=db(e,t,n);return[r,s,o,i]}const mb=[0,31,59,90,120,151,181,212,243,273,304,334],fb=[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 pb(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 hb(e,t,n){return n+(Gi(e)?fb:mb)[t-1]}function _b(e,t){const n=Gi(e)?fb:mb,r=n.findIndex(o=>o<t),s=t-n[r];return{month:r+1,day:s}}function Rd(e){const{year:t,month:n,day:r}=e,s=hb(t,n,r),o=pb(t,n,r);let i=Math.floor((s-o+10)/7),a;return i<1?(a=t-1,i=Ll(a)):i>Ll(t)?(a=t+1,i=1):a=t,{weekYear:a,weekNumber:i,weekday:o,...zu(e)}}function f_(e){const{weekYear:t,weekNumber:n,weekday:r}=e,s=pb(t,1,4),o=wi(t);let i=n*7+r-s-3,a;i<1?(a=t-1,i+=wi(a)):i>o?(a=t+1,i-=wi(t)):a=t;const{month:l,day:c}=_b(a,i);return{year:a,month:l,day:c,...zu(e)}}function Sc(e){const{year:t,month:n,day:r}=e,s=hb(t,n,r);return{year:t,ordinal:s,...zu(e)}}function p_(e){const{year:t,ordinal:n}=e,{month:r,day:s}=_b(t,n);return{year:t,month:r,day:s,...zu(e)}}function _Y(e){const t=wu(e.weekYear),n=zr(e.weekNumber,1,Ll(e.weekYear)),r=zr(e.weekday,1,7);return t?n?r?!1:Un("weekday",e.weekday):Un("week",e.week):Un("weekYear",e.weekYear)}function gY(e){const t=wu(e.year),n=zr(e.ordinal,1,wi(e.year));return t?n?!1:Un("ordinal",e.ordinal):Un("year",e.year)}function gb(e){const t=wu(e.year),n=zr(e.month,1,12),r=zr(e.day,1,Il(e.year,e.month));return t?n?r?!1:Un("day",e.day):Un("month",e.month):Un("year",e.year)}function yb(e){const{hour:t,minute:n,second:r,millisecond:s}=e,o=zr(t,0,23)||t===24&&n===0&&r===0&&s===0,i=zr(n,0,59),a=zr(r,0,59),l=zr(s,0,999);return o?i?a?l?!1:Un("millisecond",s):Un("second",r):Un("minute",n):Un("hour",t)}const Ec="Invalid DateTime",h_=864e13;function Xa(e){return new tr("unsupported zone",`the zone "${e.name}" is not supported`)}function $c(e){return e.weekData===null&&(e.weekData=Rd(e.c)),e.weekData}function Ho(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Xe({...n,...t,old:n})}function vb(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 __(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 dl(e,t,n){return vb(sf(e),t,n)}function g_(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,Il(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=sf(o);let[l,c]=vb(a,n,e.zone);return i!==0&&(l+=i,c=e.zone.offset(l)),{ts:l,o:c}}function Uo(e,t,n,r,s,o){const{setZone:i,zone:a}=n;if(e&&Object.keys(e).length!==0){const l=t||a,c=Xe.fromObject(e,{...n,zone:l,specificOffset:o});return i?c:c.setZone(a)}else return Xe.invalid(new tr("unparsable",`the input "${s}" can't be parsed as ${r}`))}function Qa(e,t,n=!0){return e.isValid?zn.create($t.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Ac(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 y_(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 bb={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},yY={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},vY={ordinal:1,hour:0,minute:0,second:0,millisecond:0},wb=["year","month","day","hour","minute","second","millisecond"],bY=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],wY=["year","ordinal","hour","minute","second","millisecond"];function v_(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 k1(e);return t}function b_(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 wb)ct(e[c])&&(e[c]=bb[c]);const a=gb(e)||yb(e);if(a)return Xe.invalid(a);const l=n.offset(s);[o,i]=dl(e,l,n)}return new Xe({ts:o,zone:n,loc:r,o:i})}function w_(e,t,n){const r=ct(n.round)?!0:n.round,s=(i,a)=>(i=rf(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 C_(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 Xe{constructor(t){const n=t.zone||Gt.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new tr("invalid input"):null)||(n.isValid?null:Xa(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=__(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 Xe({})}static local(){const[t,n]=C_(arguments),[r,s,o,i,a,l,c]=n;return b_({year:r,month:s,day:o,hour:i,minute:a,second:l,millisecond:c},t)}static utc(){const[t,n]=C_(arguments),[r,s,o,i,a,l,c]=n;return t.zone=mn.utcInstance,b_({year:r,month:s,day:o,hour:i,minute:a,second:l,millisecond:c},t)}static fromJSDate(t,n={}){const r=AK(t)?t.valueOf():NaN;if(Number.isNaN(r))return Xe.invalid("invalid input");const s=Gr(n.zone,Gt.defaultZone);return s.isValid?new Xe({ts:r,zone:s,loc:$t.fromObject(n)}):Xe.invalid(Xa(s))}static fromMillis(t,n={}){if(xs(t))return t<-h_||t>h_?Xe.invalid("Timestamp out of range"):new Xe({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 Xe({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 Xe.invalid(Xa(r));const s=Gt.now(),o=ct(n.specificOffset)?r.offset(s):n.specificOffset,i=Ml(t,v_),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 ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&a)throw new ei("Can't mix ordinal dates with month/day");const p=f||i.weekday&&!m;let h,_,g=__(s,o);p?(h=bY,_=yY,g=Rd(g)):a?(h=wY,_=vY,g=Sc(g)):(h=wb,_=bb);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?_Y(i):a?gY(i):gb(i),x=w||yb(i);if(x)return Xe.invalid(x);const z=p?f_(i):a?p_(i):i,[S,O]=dl(z,o,r),j=new Xe({ts:S,zone:r,o:O,loc:d});return i.weekday&&m&&t.weekday!==j.weekday?Xe.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]=IZ(t);return Uo(r,s,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,s]=LZ(t);return Uo(r,s,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,s]=MZ(t);return Uo(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]=hY(i,t,n);return m?Xe.invalid(m):Uo(a,l,r,`format ${n}`,t,c)}static fromString(t,n,r={}){return Xe.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,s]=UZ(t);return Uo(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 zK(r);return new Xe({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?$c(this).weekYear:NaN}get weekNumber(){return this.isValid?$c(this).weekNumber:NaN}get weekday(){return this.isValid?$c(this).weekday:NaN}get ordinal(){return this.isValid?Sc(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ja.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ja.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ja.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ja.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 Gi(this.year)}get daysInMonth(){return Il(this.year,this.month)}get daysInYear(){return this.isValid?wi(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ll(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]=dl(i,o,t)}return Ho(this,{ts:s,zone:t})}else return Xe.invalid(Xa(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const s=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return Ho(this,{loc:s})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=Ml(t,v_),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 ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(i&&s)throw new ei("Can't mix ordinal dates with month/day");let c;r?c=f_({...Rd(this.c),...n}):ct(n.ordinal)?(c={...this.toObject(),...n},ct(n.day)&&(c.day=Math.min(Il(c.year,c.month),c.day))):c=p_({...Sc(this.c),...n});const[m,f]=dl(c,this.o,this.zone);return Ho(this,{ts:m,o:f})}plus(t){if(!this.isValid)return this;const n=ot.fromDurationLike(t);return Ho(this,g_(this,n))}minus(t){if(!this.isValid)return this;const n=ot.fromDurationLike(t).negate();return Ho(this,g_(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):Ec}toLocaleString(t=Pd,n={}){return this.isValid?zn.create(this.loc.clone(n),t).formatDateTime(this):Ec}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=Ac(this,i);return a+="T",a+=y_(this,i,n,r,s,o),a}toISODate({format:t="extended"}={}){return this.isValid?Ac(this,t==="extended"):null}toISOWeekDate(){return Qa(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":"")+y_(this,i==="extended",n,t,r,o):null}toRFC2822(){return Qa(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Qa(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ac(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")),Qa(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ec}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=OK(n).map(ot.normalizeUnit),i=t.valueOf()>this.valueOf(),a=i?this:t,l=i?t:this,c=QZ(a,l,o,s);return i?c.negate():c}diffNow(t="milliseconds",n={}){return this.diff(Xe.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||Xe.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),w_(n,this.plus(r),{...t,numeric:"always",units:s,unit:o})}toRelativeCalendar(t={}){return this.isValid?w_(t.base||Xe.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(Xe.isDateTime))throw new Bn("min requires all arguments be DateTimes");return Qh(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(Xe.isDateTime))throw new Bn("max requires all arguments be DateTimes");return Qh(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 db(i,t,n)}static fromStringExplain(t,n,r={}){return Xe.fromFormatExplain(t,n,r)}static get DATE_SHORT(){return Pd}static get DATE_MED(){return S1}static get DATE_MED_WITH_WEEKDAY(){return SK}static get DATE_FULL(){return E1}static get DATE_HUGE(){return $1}static get TIME_SIMPLE(){return A1}static get TIME_WITH_SECONDS(){return O1}static get TIME_WITH_SHORT_OFFSET(){return T1}static get TIME_WITH_LONG_OFFSET(){return P1}static get TIME_24_SIMPLE(){return D1}static get TIME_24_WITH_SECONDS(){return F1}static get TIME_24_WITH_SHORT_OFFSET(){return I1}static get TIME_24_WITH_LONG_OFFSET(){return L1}static get DATETIME_SHORT(){return M1}static get DATETIME_SHORT_WITH_SECONDS(){return R1}static get DATETIME_MED(){return N1}static get DATETIME_MED_WITH_SECONDS(){return j1}static get DATETIME_MED_WITH_WEEKDAY(){return EK}static get DATETIME_FULL(){return V1}static get DATETIME_FULL_WITH_SECONDS(){return B1}static get DATETIME_HUGE(){return H1}static get DATETIME_HUGE_WITH_SECONDS(){return U1}}function qo(e){if(Xe.isDateTime(e))return e;if(e&&e.valueOf&&xs(e.valueOf()))return Xe.fromJSDate(e);if(e&&typeof e=="object")return Xe.fromObject(e);throw new Bn(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const{t:Oc,locale:Tc}=Bi.global,CY={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 Xe.fromISO(e).setLocale(Tc.value).toLocaleString(Xe.DATE_FULL)},datetime:function(e){return Xe.fromISO(e).setLocale(Tc.value).toLocaleString(Xe.DATETIME_MED)},timeFromNow:function(e){var t=Xe.now().diff(Xe.fromISO(e));return this.durationInDays(t.as("milliseconds"))},number:function(e){return e.toLocaleString(Tc.value)},channels:function(e){return e===1?Oc("filter.mono"):e===2?Oc("filter.stereo"):e?Oc("filter.channels",{value:e}):""}},zY={mdiAccountMusic:cG,mdiAlbum:dG,mdiArrowCollapseDown:fG,mdiBookOpenPageVariant:pG,mdiBookOpenVariant:hG,mdiBookshelf:_G,mdiBroadcast:gG,mdiCancel:yG,mdiCast:vG,mdiCastVariant:bG,mdiCellphone:wG,mdiCheck:CG,mdiChevronDown:zG,mdiChevronUp:xG,mdiContentSave:kG,mdiDelete:SG,mdiDeleteEmpty:EG,mdiDotsHorizontal:$G,mdiDotsVertical:AG,mdiDragHorizontal:OG,mdiFastForward:TG,mdiFileMusic:PG,mdiFileOutline:DG,mdiFire:FG,mdiFolder:IG,mdiFolderOpen:LG,mdiMagnify:MG,mdiMenu:RG,mdiMicrophone:NG,mdiMusic:jG,mdiMusicBoxMultiple:VG,mdiOpenInNew:BG,mdiPause:HG,mdiPencil:UG,mdiPipe:qG,mdiPlay:WG,mdiPlaylistPlay:GG,mdiPlaylistPlus:KG,mdiRadio:ZG,mdiRadioTower:YG,mdiRefresh:JG,mdiRepeat:XG,mdiRepeatOff:QG,mdiRepeatOnce:eK,mdiRewind:tK,mdiRss:nK,mdiServer:rK,mdiShuffle:sK,mdiShuffleDisabled:oK,mdiSkipBackward:iK,mdiSkipForward:aK,mdiSpeaker:lK,mdiSpotify:uK,mdiStop:cK,mdiSubdirectoryArrowLeft:dK,mdiVolumeHigh:mK,mdiVolumeOff:fK,mdiWeb:pK},xY={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(go,e)}},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(_o,e)}}},methods:{open_link:function(){this.show_burger_menu&&this.$store.commit(_o,!1),this.show_player_menu&&this.$store.commit(go,!1),this.$router.push({path:this.to})},full_path:function(){return this.$router.resolve(this.to).href}}},kY=["href"];function SY(e,t,n,r,s,o){return E(),D("a",{class:Ze(["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,kY)}const Cb=ve(xY,[["render",SY]]),EY={name:"NavbarTop",components:{NavbarItemLink:Cb},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(_o,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(Hi,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}}},$Y={class:"navbar-brand"},AY={class:"icon"},OY={class:"icon"},TY={class:"icon"},PY={class:"icon"},DY={class:"icon"},FY={class:"icon"},IY={class:"icon"},LY=u("span",null,null,-1),MY=u("span",null,null,-1),RY=u("span",null,null,-1),NY=[LY,MY,RY],jY=u("div",{class:"navbar-start"},null,-1),VY={class:"navbar-end"},BY={class:"navbar-link is-arrowless"},HY={class:"icon is-hidden-touch"},UY=["textContent"],qY={class:"navbar-dropdown is-right"},WY={class:"icon"},GY=["textContent"],KY={class:"icon"},ZY=["textContent"],YY=["textContent"],JY=["textContent"],XY=["textContent"],QY=["textContent"],eJ={class:"icon"},tJ=["textContent"],nJ={class:"icon"},rJ=["textContent"],sJ={class:"icon"},oJ=["textContent"],iJ={class:"icon"},aJ=["textContent"],lJ={class:"icon"},uJ=["textContent"],cJ=u("hr",{class:"fd-navbar-divider"},null,-1),dJ=["textContent"],mJ=u("div",{class:"navbar-item is-hidden-desktop",style:{"margin-bottom":"2.5rem"}},null,-1);function fJ(e,t,n,r,s,o){const i=P("mdicon"),a=P("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",$Y,[o.is_visible_playlists?(E(),xe(a,{key:0,to:"/playlists"},{default:T(()=>[u("span",AY,[C(i,{name:"music-box-multiple",size:"16"})])]),_:1})):Q("",!0),o.is_visible_music?(E(),xe(a,{key:1,to:"/music"},{default:T(()=>[u("span",OY,[C(i,{name:"music",size:"16"})])]),_:1})):Q("",!0),o.is_visible_podcasts?(E(),xe(a,{key:2,to:"/podcasts"},{default:T(()=>[u("span",TY,[C(i,{name:"microphone",size:"16"})])]),_:1})):Q("",!0),o.is_visible_audiobooks?(E(),xe(a,{key:3,to:"/audiobooks"},{default:T(()=>[u("span",PY,[C(i,{name:"book-open-variant",size:"16"})])]),_:1})):Q("",!0),o.is_visible_radio?(E(),xe(a,{key:4,to:"/radio"},{default:T(()=>[u("span",DY,[C(i,{name:"radio",size:"16"})])]),_:1})):Q("",!0),o.is_visible_files?(E(),xe(a,{key:5,to:"/files"},{default:T(()=>[u("span",FY,[C(i,{name:"folder-open",size:"16"})])]),_:1})):Q("",!0),o.is_visible_search?(E(),xe(a,{key:6,to:"/search"},{default:T(()=>[u("span",IY,[C(i,{name:"magnify",size:"16"})])]),_:1})):Q("",!0),u("div",{class:Ze(["navbar-burger",{"is-active":o.show_burger_menu}]),onClick:t[0]||(t[0]=l=>o.show_burger_menu=!o.show_burger_menu)},NY,2)]),u("div",{class:Ze(["navbar-menu",{"is-active":o.show_burger_menu}])},[jY,u("div",VY,[u("div",{class:Ze(["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",BY,[u("span",HY,[C(i,{name:"menu",size:"24"})]),u("span",{class:"is-hidden-desktop has-text-weight-bold",textContent:v(e.$t("navigation.title"))},null,8,UY)]),u("div",qY,[C(a,{to:"/playlists"},{default:T(()=>[u("span",WY,[C(i,{name:"music-box-multiple",size:"16"})]),u("b",{textContent:v(e.$t("navigation.playlists"))},null,8,GY)]),_:1}),C(a,{to:"/music",exact:""},{default:T(()=>[u("span",KY,[C(i,{name:"music",size:"16"})]),u("b",{textContent:v(e.$t("navigation.music"))},null,8,ZY)]),_:1}),C(a,{to:"/music/artists"},{default:T(()=>[u("span",{class:"fd-navbar-item-level2",textContent:v(e.$t("navigation.artists"))},null,8,YY)]),_:1}),C(a,{to:"/music/albums"},{default:T(()=>[u("span",{class:"fd-navbar-item-level2",textContent:v(e.$t("navigation.albums"))},null,8,JY)]),_:1}),C(a,{to:"/music/genres"},{default:T(()=>[u("span",{class:"fd-navbar-item-level2",textContent:v(e.$t("navigation.genres"))},null,8,XY)]),_:1}),o.spotify_enabled?(E(),xe(a,{key:0,to:"/music/spotify"},{default:T(()=>[u("span",{class:"fd-navbar-item-level2",textContent:v(e.$t("navigation.spotify"))},null,8,QY)]),_:1})):Q("",!0),C(a,{to:"/podcasts"},{default:T(()=>[u("span",eJ,[C(i,{name:"microphone",size:"16"})]),u("b",{textContent:v(e.$t("navigation.podcasts"))},null,8,tJ)]),_:1}),C(a,{to:"/audiobooks"},{default:T(()=>[u("span",nJ,[C(i,{name:"book-open-variant",size:"16"})]),u("b",{textContent:v(e.$t("navigation.audiobooks"))},null,8,rJ)]),_:1}),C(a,{to:"/radio"},{default:T(()=>[u("span",sJ,[C(i,{name:"radio",size:"16"})]),u("b",{textContent:v(e.$t("navigation.radio"))},null,8,oJ)]),_:1}),C(a,{to:"/files"},{default:T(()=>[u("span",iJ,[C(i,{name:"folder-open",size:"16"})]),u("b",{textContent:v(e.$t("navigation.files"))},null,8,aJ)]),_:1}),C(a,{to:"/search"},{default:T(()=>[u("span",lJ,[C(i,{name:"magnify",size:"16"})]),u("b",{textContent:v(e.$t("navigation.search"))},null,8,uJ)]),_:1}),cJ,C(a,{to:"/settings/webinterface"},{default:T(()=>[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,dJ),C(a,{to:"/about"},{default:T(()=>[yt(v(e.$t("navigation.about")),1)]),_:1}),mJ])],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),[[ho,s.show_settings_menu]])],4)}const pJ=ve(EY,[["render",fJ]]),Wo={_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{}}},hJ={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)}}},_J={class:"navbar-item"},gJ={class:"level is-mobile"},yJ={class:"level-left fd-expanded"},vJ={class:"level-item",style:{"flex-grow":"0"}},bJ={class:"button is-white is-small"},wJ={class:"level-item fd-expanded"},CJ={class:"fd-expanded"},zJ=["textContent"];function xJ(e,t,n,r,s,o){const i=P("mdicon"),a=P("Slider");return E(),D("div",_J,[u("div",gJ,[u("div",yJ,[u("div",vJ,[u("a",bJ,[u("span",{class:Ze(["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",wJ,[u("div",CJ,[u("p",{class:Ze(["heading",{"has-text-grey-light":!n.output.selected}]),textContent:v(n.output.name)},null,10,zJ),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 kJ=ve(hJ,[["render",xJ]]),SJ={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()}}},EJ=["disabled"],$J={class:"icon"};function AJ(e,t,n,r,s,o){const i=P("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",$J,[C(i,{name:o.icon_name,size:n.icon_size},null,8,["name","size"])])],8,EJ)}const OJ=ve(SJ,[["render",AJ]]),TJ={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()}}},PJ=["disabled"],DJ={class:"icon"};function FJ(e,t,n,r,s,o){const i=P("mdicon");return E(),D("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.play_next&&o.play_next(...a))},[u("span",DJ,[C(i,{name:"skip-forward",size:n.icon_size},null,8,["size"])])],8,PJ)}const IJ=ve(TJ,[["render",FJ]]),LJ={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()}}},MJ=["disabled"],RJ={class:"icon"};function NJ(e,t,n,r,s,o){const i=P("mdicon");return E(),D("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.play_previous&&o.play_previous(...a))},[u("span",RJ,[C(i,{name:"skip-backward",size:n.icon_size},null,8,["size"])])],8,MJ)}const jJ=ve(LJ,[["render",NJ]]),VJ={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)}}},BJ={class:"icon"};function HJ(e,t,n,r,s,o){const i=P("mdicon");return E(),D("a",{class:Ze({"is-warning":o.is_shuffle}),onClick:t[0]||(t[0]=(...a)=>o.toggle_shuffle_mode&&o.toggle_shuffle_mode(...a))},[u("span",BJ,[C(i,{name:o.icon_name,size:n.icon_size},null,8,["name","size"])])],2)}const UJ=ve(VJ,[["render",HJ]]),qJ={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)}}},WJ={class:"icon"};function GJ(e,t,n,r,s,o){const i=P("mdicon");return E(),D("a",{class:Ze({"is-warning":o.is_consume}),onClick:t[0]||(t[0]=(...a)=>o.toggle_consume_mode&&o.toggle_consume_mode(...a))},[u("span",WJ,[C(i,{name:"fire",size:n.icon_size},null,8,["size"])])],2)}const KJ=ve(qJ,[["render",GJ]]),ZJ={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")}}},YJ={class:"icon"};function JJ(e,t,n,r,s,o){const i=P("mdicon");return E(),D("a",{class:Ze({"is-warning":!o.is_repeat_off}),onClick:t[0]||(t[0]=(...a)=>o.toggle_repeat_mode&&o.toggle_repeat_mode(...a))},[u("span",YJ,[C(i,{name:o.icon_name,size:n.icon_size},null,8,["name","size"])])],2)}const XJ=ve(ZJ,[["render",JJ]]),QJ={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)}}},eX=["disabled"],tX={class:"icon"};function nX(e,t,n,r,s,o){const i=P("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",tX,[C(i,{name:"rewind",size:n.icon_size},null,8,["size"])])],8,eX)):Q("",!0)}const rX=ve(QJ,[["render",nX]]),sX={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)}}},oX=["disabled"],iX={class:"icon"};function aX(e,t,n,r,s,o){const i=P("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",iX,[C(i,{name:"fast-forward",size:n.icon_size},null,8,["size"])])],8,oX)):Q("",!0)}const lX=ve(sX,[["render",aX]]),uX={name:"NavbarBottom",components:{NavbarItemLink:Cb,NavbarItemOutput:kJ,Slider:Oi,PlayerButtonPlayPause:OJ,PlayerButtonNext:IJ,PlayerButtonPrevious:jJ,PlayerButtonShuffle:UJ,PlayerButtonConsume:KJ,PlayerButtonRepeat:XJ,PlayerButtonSeekForward:lX,PlayerButtonSeekBack:rX},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(go,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=Wo.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(){Wo.stopAudio(),this.playing=!1},playChannel:function(){if(this.playing)return;const e="/stream.mp3";this.loading=!0,Wo.playSource(e),Wo.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,Wo.setVolume(this.stream_volume/100)}}},cX={class:"navbar-brand fd-expanded"},dX={class:"icon"},mX={class:"is-clipped"},fX={class:"is-size-7 fd-is-text-clipped"},pX=["textContent"],hX=u("br",null,null,-1),_X=["textContent"],gX=["textContent"],yX={class:"icon"},vX={class:"icon"},bX={class:"navbar-dropdown is-right is-boxed",style:{"margin-right":"6px","margin-bottom":"6px","border-radius":"6px"}},wX={class:"navbar-item"},CX={class:"level is-mobile"},zX={class:"level-left fd-expanded"},xX={class:"level-item",style:{"flex-grow":"0"}},kX={class:"icon"},SX={class:"level-item fd-expanded"},EX={class:"fd-expanded"},$X=["textContent"],AX=u("hr",{class:"fd-navbar-divider"},null,-1),OX=u("hr",{class:"fd-navbar-divider"},null,-1),TX={class:"navbar-item"},PX={class:"level is-mobile"},DX={class:"level-left fd-expanded"},FX={class:"level-item",style:{"flex-grow":"0"}},IX={class:"level-item fd-expanded"},LX={class:"fd-expanded"},MX=["textContent"],RX={href:"stream.mp3",style:{"margin-left":"5px"},target:"_blank"},NX={class:"icon"},jX=u("hr",{class:"fd-navbar-divider"},null,-1),VX={class:"navbar-item"},BX={class:"level is-mobile fd-expanded"},HX={class:"level-item"},UX={class:"buttons has-addons"},qX=u("div",{class:"navbar-start"},null,-1),WX={class:"navbar-end"},GX={class:"navbar-item"},KX={class:"buttons is-centered"},ZX=u("hr",{class:"fd-navbar-divider"},null,-1),YX={class:"navbar-item"},JX={class:"level is-mobile"},XX={class:"level-left fd-expanded"},QX={class:"level-item",style:{"flex-grow":"0"}},eQ={class:"icon"},tQ={class:"level-item fd-expanded"},nQ={class:"fd-expanded"},rQ=["textContent"],sQ=u("hr",{class:"fd-navbar-divider"},null,-1),oQ={class:"navbar-item fd-has-margin-bottom"},iQ={class:"level is-mobile"},aQ={class:"level-left fd-expanded"},lQ={class:"level-item",style:{"flex-grow":"0"}},uQ={class:"level-item fd-expanded"},cQ={class:"fd-expanded"},dQ=["textContent"],mQ={href:"stream.mp3",style:{"margin-left":"5px"},target:"_blank"},fQ={class:"icon"};function pQ(e,t,n,r,s,o){const i=P("mdicon"),a=P("navbar-item-link"),l=P("router-link"),c=P("player-button-previous"),m=P("player-button-seek-back"),f=P("player-button-play-pause"),d=P("player-button-seek-forward"),p=P("player-button-next"),h=P("Slider"),_=P("navbar-item-output"),g=P("player-button-repeat"),b=P("player-button-shuffle"),w=P("player-button-consume");return E(),D("nav",{class:Ze(["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",cX,[C(a,{to:"/",exact:""},{default:T(()=>[u("span",dX,[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:T(()=>[u("div",mX,[u("p",fX,[u("strong",{textContent:v(o.now_playing.title)},null,8,pX),hX,u("span",{textContent:v(o.now_playing.artist)},null,8,_X),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,gX)):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",yX,[C(i,{name:o.show_player_menu?"chevron-down":"chevron-up",size:"18"},null,8,["name"])])]),u("div",{class:Ze(["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",vX,[C(i,{name:o.show_player_menu?"chevron-down":"chevron-up",size:"18"},null,8,["name"])])]),u("div",bX,[u("div",wX,[u("div",CX,[u("div",zX,[u("div",xX,[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",kX,[C(i,{name:o.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])])]),u("div",SX,[u("div",EX,[u("p",{class:"heading",textContent:v(e.$t("navigation.volume"))},null,8,$X),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"])])])])])]),AX,(E(!0),D(We,null,wt(o.outputs,x=>(E(),xe(_,{key:x.id,output:x},null,8,["output"]))),128)),OX,u("div",TX,[u("div",PX,[u("div",DX,[u("div",FX,[u("a",{class:Ze(["button is-white is-small",{"is-loading":s.loading}])},[u("span",{class:Ze(["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",IX,[u("div",LX,[u("p",{class:Ze(["heading",{"has-text-grey-light":!s.playing}])},[u("span",{textContent:v(e.$t("navigation.stream"))},null,8,MX),u("a",RX,[u("span",NX,[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"])])])])])]),jX,u("div",VX,[u("div",BX,[u("div",HX,[u("div",UX,[C(g,{class:"button"}),C(b,{class:"button"}),C(w,{class:"button"})])])])])])],2)]),u("div",{class:Ze(["navbar-menu is-hidden-desktop",{"is-active":o.show_player_menu}])},[qX,u("div",WX,[u("div",GX,[u("div",KX,[C(g,{class:"button",icon_size:18}),C(b,{class:"button",icon_size:18}),C(w,{class:"button",icon_size:18})])]),ZX,u("div",YX,[u("div",JX,[u("div",XX,[u("div",QX,[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",eQ,[C(i,{name:o.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])])]),u("div",tQ,[u("div",nQ,[u("p",{class:"heading",textContent:v(e.$t("navigation.volume"))},null,8,rQ),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(We,null,wt(o.outputs,x=>(E(),xe(_,{key:x.id,output:x},null,8,["output"]))),128)),sQ,u("div",oQ,[u("div",iQ,[u("div",aQ,[u("div",lQ,[u("a",{class:Ze(["button is-white is-small",{"is-loading":s.loading}])},[u("span",{class:Ze(["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",uQ,[u("div",cQ,[u("p",{class:Ze(["heading",{"has-text-grey-light":!s.playing}])},[u("span",{textContent:v(e.$t("navigation.stream"))},null,8,dQ),u("a",mQ,[u("span",fQ,[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 hQ=ve(uX,[["render",pQ]]);const _Q={name:"NotificationList",components:{},data(){return{showNav:!1}},computed:{notifications(){return this.$store.state.notifications.list}},methods:{remove:function(e){this.$store.commit(id,e)}}},gQ={key:0,class:"fd-notifications"},yQ={class:"columns is-centered"},vQ={class:"column is-half"},bQ=["onClick"],wQ=["textContent"];function CQ(e,t,n,r,s,o){return o.notifications.length>0?(E(),D("section",gQ,[u("div",yQ,[u("div",vQ,[(E(!0),D(We,null,wt(o.notifications,i=>(E(),D("div",{key:i.id,class:Ze(["notification has-shadow",["notification",i.type?`is-${i.type}`:""]])},[u("button",{class:"delete",onClick:a=>o.remove(i)},null,8,bQ),u("span",{textContent:v(i.text)},null,8,wQ)],2))),128))])])])):Q("",!0)}const zQ=ve(_Q,[["render",CQ]]),xQ={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=""})}}},kQ={key:0,class:"modal is-active"},SQ={class:"modal-content fd-modal-card"},EQ={class:"card"},$Q={class:"card-content"},AQ=["textContent"],OQ=["textContent"],TQ={class:"field"},PQ={class:"control"},DQ={class:"card-footer"},FQ={class:"icon"},IQ=["textContent"],LQ={class:"icon"},MQ=["textContent"];function RQ(e,t,n,r,s,o){const i=P("mdicon");return E(),D("div",null,[C(qt,{name:"fade"},{default:T(()=>[n.show?(E(),D("div",kQ,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",SQ,[u("div",EQ,[u("div",$Q,[u("p",{class:"title is-4",textContent:v(e.$t("dialog.remote-pairing.title"))},null,8,AQ),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,OQ),u("div",TQ,[u("div",PQ,[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",DQ,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[u("span",FQ,[C(i,{name:"cancel",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.remote-pairing.cancel"))},null,8,IQ)]),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",LQ,[C(i,{name:"cellphone",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.remote-pairing.pair"))},null,8,MQ)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}const NQ=ve(xQ,[["render",RQ]]),jQ={name:"ModalDialogUpdate",components:{ModalDialog:Wm},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(Em,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")}}},VQ={key:0},BQ=["textContent"],HQ={key:0,class:"field"},UQ={class:"control"},qQ={class:"select is-small"},WQ=["textContent"],GQ=["textContent"],KQ=["textContent"],ZQ=["textContent"],YQ={class:"field"},JQ={class:"checkbox is-size-7 is-small"},XQ=["textContent"],QQ={key:1},eee=["textContent"];function tee(e,t,n,r,s,o){const i=P("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":T(()=>[o.library.updating?(E(),D("div",QQ,[u("p",{class:"mb-3",textContent:v(e.$t("dialog.update.progress"))},null,8,eee)])):(E(),D("div",VQ,[u("p",{class:"mb-3",textContent:v(e.$t("dialog.update.info"))},null,8,BQ),o.spotify_enabled||o.rss.tracks>0?(E(),D("div",HQ,[u("div",UQ,[u("div",qQ,[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,WQ),u("option",{value:"files",textContent:v(e.$t("dialog.update.local"))},null,8,GQ),o.spotify_enabled?(E(),D("option",{key:0,value:"spotify",textContent:v(e.$t("dialog.update.spotify"))},null,8,KQ)):Q("",!0),o.rss.tracks>0?(E(),D("option",{key:1,value:"rss",textContent:v(e.$t("dialog.update.feeds"))},null,8,ZQ)):Q("",!0)],512),[[fm,o.update_dialog_scan_kind]])])])])):Q("",!0),u("div",YQ,[u("label",JQ,[xt(u("input",{"onUpdate:modelValue":t[1]||(t[1]=a=>s.rescan_metadata=a),type:"checkbox",style:{"margin-right":"5px"}},null,512),[[Sr,s.rescan_metadata]]),u("span",{textContent:v(e.$t("dialog.update.rescan-metadata"))},null,8,XQ)])])]))]),_:1},8,["show","title","ok_action","close_action","onOk"])}const nee=ve(jQ,[["render",tee]]);var Nd={},ree={get exports(){return Nd},set exports(e){Nd=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})})(ree);const see=Nd,oee={name:"App",components:{NavbarTop:pJ,NavbarBottom:hQ,NotificationList:zQ,ModalDialogRemotePairing:NQ,ModalDialogUpdate:nee},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(_o,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(go,e)}},show_update_dialog:{get(){return this.$store.state.show_update_dialog},set(e){this.$store.commit(Hi,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(zy,e),this.$store.commit(lu,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 see(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(ky,e)}),Z.library_count("media_kind is audiobook").then(({data:e})=>{this.$store.commit(Sy,e)}),Z.library_count("media_kind is podcast").then(({data:e})=>{this.$store.commit(Ey,e)}),Z.library_count("scan_kind is rss").then(({data:e})=>{this.$store.commit($y,e)})},update_outputs:function(){Z.outputs().then(({data:e})=>{this.$store.commit(Ay,e.outputs)})},update_player_status:function(){Z.player_status().then(({data:e})=>{this.$store.commit(Cm,e)})},update_queue:function(){Z.queue().then(({data:e})=>{this.$store.commit(Oy,e)})},update_settings:function(){Z.settings().then(({data:e})=>{this.$store.commit(xy,e)})},update_lastfm:function(){Z.lastfm().then(({data:e})=>{this.$store.commit(Ty,e)})},update_spotify:function(){Z.spotify().then(({data:e})=>{this.$store.commit(Py,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(Dy,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/>"},iee={id:"app"};function aee(e,t,n,r,s,o){const i=P("navbar-top"),a=P("vue-progress-bar"),l=P("router-view"),c=P("modal-dialog-remote-pairing"),m=P("modal-dialog-update"),f=P("notification-list"),d=P("navbar-bottom");return E(),D("div",iee,[C(i),C(a,{class:"fd-progress-bar"}),C(l,null,{default:T(({Component:p})=>[(E(),xe(fg(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),[[ho,!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),[[ho,o.show_burger_menu||o.show_player_menu]])])}const lee=ve(oee,[["render",aee]]);const zb=ty(lee).use(it).use(b1).use(GW,{color:"hsl(204, 86%, 53%)",failedColor:"red",height:"1px"}).use(ZW).use(aG,{log:!1}).use(uG).use(CK,{icons:zY}).use(Bi);zb.config.globalProperties.$filters=CY;zb.mount("#app");
|